Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 112.4 kB / 16.37 MB, free: 6.348 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.001234/0.001234, allocations: 188.7 kB / 17.3 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002146/0.002146, allocations: 289.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8791/0.8791, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 100.2 kB / 0.682 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4387, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002288/0.441, allocations: 1.386 MB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.4442, allocations: 2.907 MB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.4443, allocations: 3.938 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.237e-05/0.4444, allocations: 3.938 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.4445, allocations: 47.8 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.445, allocations: 187.1 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.4453, allocations: 231.5 kB / 0.7716 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.4453, allocations: 11.64 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.4454, allocations: 95.78 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.4455, allocations: 119.8 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.4456, allocations: 12 kB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.4459, allocations: 135.9 kB / 0.772 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.446, allocations: 99.75 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.983e-05/0.4461, allocations: 83.64 kB / 0.7722 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.4464, allocations: 273.8 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4465, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4465, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4465, allocations: 0 / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007709/0.4472, allocations: 0.5339 MB / 0.7729 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4473, allocations: 8.031 kB / 0.7729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4474, allocations: 24.69 kB / 0.773 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.4476, allocations: 236.1 kB / 0.7732 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.4477, allocations: 28.3 kB / 0.7732 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.4477, allocations: 12.38 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.4483, allocations: 298.2 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4484, allocations: 0 / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.4484, allocations: 8 kB / 0.7735 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4484, allocations: 7.984 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.4497, allocations: 0.7452 MB / 0.7743 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003227/0.4501, allocations: 305.3 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.4516, allocations: 0.6757 MB / 0.7752 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.4521, allocations: 225.3 kB / 0.7754 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.4525, allocations: 400.1 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4526, allocations: 42.48 kB / 0.7758 GB, free: 10.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.4526, allocations: 0 / 0.7758 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001501/0.4541, allocations: 0.6461 MB / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4541, allocations: 63.16 kB / 0.7765 GB, free: 9.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.4542, allocations: 129.3 kB / 0.7767 GB, free: 9.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.4543, allocations: 29.7 kB / 0.7767 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4543, allocations: 88.8 kB / 0.7768 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.4544, allocations: 126.1 kB / 0.7769 GB, free: 9.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.4545, allocations: 65.69 kB / 0.777 GB, free: 9.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4546, allocations: 334.8 kB / 0.7773 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.4551, allocations: 191.8 kB / 0.7775 GB, free: 8.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.4555, allocations: 203.9 kB / 0.7777 GB, free: 8.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/0.4564, allocations: 356.3 kB / 0.778 GB, free: 8.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4564, allocations: 8 kB / 0.778 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001001/0.4574, allocations: 465.2 kB / 0.7784 GB, free: 7.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4574, allocations: 8 kB / 0.7785 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4574, allocations: 0 / 0.7785 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4574, allocations: 4 kB / 0.7785 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.4578, allocations: 95.86 kB / 0.7785 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4578, allocations: 3.984 kB / 0.7785 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.458, allocations: 51.75 kB / 0.7786 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.458, allocations: 11.98 kB / 0.7786 GB, free: 7.715 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.4582, allocations: 148.2 kB / 0.7788 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.4582, allocations: 19.75 kB / 0.7788 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.4594, allocations: 0.5154 MB / 0.7793 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4594, allocations: 4 kB / 0.7793 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4594, allocations: 0 / 0.7793 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4594, allocations: 7.938 kB / 0.7793 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.4597, allocations: 305.3 kB / 0.7796 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4597, allocations: 0 / 0.7796 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.4601, allocations: 107.8 kB / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4601, allocations: 0 / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4601, allocations: 11.98 kB / 0.7797 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4601, allocations: 4 kB / 0.7797 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4601, allocations: 0 / 0.7797 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4612, allocations: 0.4926 MB / 0.7802 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.4612, allocations: 108.7 kB / 0.7803 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4612, allocations: 4 kB / 0.7803 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.4614, allocations: 39.95 kB / 0.7803 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.4616, allocations: 119.8 kB / 0.7804 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.4617, allocations: 11.98 kB / 0.7804 GB, free: 5.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.4617, allocations: 95.27 kB / 0.7805 GB, free: 5.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4617, allocations: 0 / 0.7805 GB, free: 5.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003712/0.4621, allocations: 115.9 kB / 0.7806 GB, free: 5.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000313/0.4624, allocations: 195 kB / 0.7808 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.4635, allocations: 467.3 kB / 0.7813 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4635, allocations: 0 / 0.7813 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.4641, allocations: 260.6 kB / 0.7815 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4645, allocations: 92.95 kB / 0.7816 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.4652, allocations: 456.1 kB / 0.7821 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4655, allocations: 0.7327 MB / 0.7828 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.4656, allocations: 55.34 kB / 0.7828 GB, free: 3.238 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4657, allocations: 0 / 0.7828 GB, free: 3.238 MB / 0.545 GB Notification: Performance of Templates: time 0.006479/0.4721, allocations: 4.737 MB / 0.7874 GB, free: 14.58 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)