Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005324, allocations: 13.69 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2639, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00156/0.2655, allocations: 0.5403 MB / 0.7878 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.2657, allocations: 39.8 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.2658, allocations: 4 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2658, allocations: 3.938 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.266, allocations: 11.91 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.671e-05/0.2661, allocations: 19.98 kB / 0.7878 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2662, allocations: 39.91 kB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2664, allocations: 29.56 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.2665, allocations: 23.86 kB / 0.7879 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.2666, allocations: 27.8 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2666, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.2667, allocations: 4 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.2667, allocations: 3.938 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.2667, allocations: 45.62 kB / 0.788 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2669, allocations: 56.09 kB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2669, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2669, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2669, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000561/0.2675, allocations: 387 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.2675, allocations: 8.031 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.2676, allocations: 38.56 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.2677, allocations: 7.906 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.268, allocations: 198.8 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.268, allocations: 8 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2681, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2683, allocations: 88.59 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2683, allocations: 7.984 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.2684, allocations: 4 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2684, allocations: 0 / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2686, allocations: 39.92 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.2694, allocations: 444.5 kB / 0.7892 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.2695, allocations: 53.3 kB / 0.7893 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.2696, allocations: 0 / 0.7893 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2696, allocations: 30.56 kB / 0.7893 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/0.2696, allocations: 0 / 0.7893 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002706/0.2699, allocations: 57.83 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.27, allocations: 85.08 kB / 0.7895 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.2703, allocations: 171.3 kB / 0.7896 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2703, allocations: 25.7 kB / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.2704, allocations: 111.9 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2704, allocations: 4 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.2705, allocations: 0 / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2706, allocations: 318.8 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.2707, allocations: 11.94 kB / 0.7901 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.2707, allocations: 29.66 kB / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.2708, allocations: 8 kB / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2708, allocations: 0 / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.271, allocations: 69.39 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.271, allocations: 6.812 kB / 0.7902 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.271, allocations: 4 kB / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.271, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2712, allocations: 16.06 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2712, allocations: 0 / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.2713, allocations: 0 / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.2713, allocations: 4 kB / 0.7902 GB, free: 8.555 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2714, allocations: 117.8 kB / 0.7903 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.2715, allocations: 11.86 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.2716, allocations: 12.56 kB / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2716, allocations: 0 / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2716, allocations: 0 / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2716, allocations: 4 kB / 0.7903 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.2723, allocations: 490.6 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2723, allocations: 0 / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.2724, allocations: 4 kB / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2724, allocations: 0 / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2724, allocations: 0 / 0.7908 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2724, allocations: 4 kB / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2724, allocations: 64 / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2726, allocations: 99.5 kB / 0.7909 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.2727, allocations: 89 kB / 0.791 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2728, allocations: 4.094 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.2728, allocations: 4 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.2729, allocations: 8.016 kB / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2729, allocations: 0 / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001561/0.2731, allocations: 124 kB / 0.7911 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2731, allocations: 0 / 0.7911 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003798/0.2735, allocations: 12 kB / 0.7911 GB, free: 7.473 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005212/0.274, allocations: 0.7069 MB / 0.7918 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2741, allocations: 12 kB / 0.7918 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.2742, allocations: 0 / 0.7918 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.2742, allocations: 19.86 kB / 0.7919 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.2744, allocations: 7.938 kB / 0.7919 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2759, allocations: 0.739 MB / 0.7926 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2762, allocations: 0.6965 MB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.2763, allocations: 12.42 kB / 0.7933 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.2763, allocations: 15.44 kB / 0.7933 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2764, allocations: 4 kB / 0.7933 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.3013, allocations: 1.564 MB / 0.7948 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.3016, allocations: 191 kB / 0.795 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.396, allocations: 0 / 0.795 GB, free: 3.469 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) Environment - environmentSimulation: