Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.001307/0.001307, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002635/0.002635, allocations: 297.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.038/1.038, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4557, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002634/0.4584, allocations: 1.394 MB / 0.7684 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.4627, allocations: 2.907 MB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.4627, allocations: 0 / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.364e-05/0.4628, allocations: 11.92 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.4629, allocations: 39.81 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.4635, allocations: 179.2 kB / 0.7715 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.4638, allocations: 243.5 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.4638, allocations: 11.98 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.4639, allocations: 95.84 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4641, allocations: 119.7 kB / 0.7719 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4641, allocations: 12 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.4644, allocations: 139.8 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4646, allocations: 91.75 kB / 0.7722 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.4647, allocations: 87.66 kB / 0.7722 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.465, allocations: 272.7 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.4651, allocations: 4 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4651, allocations: 0 / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4651, allocations: 4 kB / 0.7725 GB, free: 14.29 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.0009933/0.4661, allocations: 0.5335 MB / 0.773 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4661, allocations: 15.97 kB / 0.773 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4662, allocations: 16.84 kB / 0.7731 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.4665, allocations: 244 kB / 0.7733 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4666, allocations: 24.36 kB / 0.7733 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.4666, allocations: 12.38 kB / 0.7733 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.4673, allocations: 294.3 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.4673, allocations: 0 / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4673, allocations: 8 kB / 0.7736 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4673, allocations: 8 kB / 0.7736 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.469, allocations: 0.749 MB / 0.7744 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.4694, allocations: 301.4 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4712, allocations: 0.6406 MB / 0.7753 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.4718, allocations: 213.3 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/0.4723, allocations: 396.1 kB / 0.7759 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4723, allocations: 34.5 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.4723, allocations: 4 kB / 0.7759 GB, free: 10.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.4741, allocations: 0.65 MB / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4741, allocations: 63.16 kB / 0.7766 GB, free: 9.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4743, allocations: 133.1 kB / 0.7767 GB, free: 9.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4743, allocations: 29.7 kB / 0.7767 GB, free: 9.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.4744, allocations: 92.8 kB / 0.7768 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4745, allocations: 130.8 kB / 0.777 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4746, allocations: 65.69 kB / 0.777 GB, free: 9.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.4749, allocations: 330.8 kB / 0.7773 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.4754, allocations: 187.8 kB / 0.7775 GB, free: 8.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.4759, allocations: 207.9 kB / 0.7777 GB, free: 8.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.477, allocations: 356.3 kB / 0.778 GB, free: 8.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.477, allocations: 0 / 0.778 GB, free: 8.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001187/0.4782, allocations: 473.2 kB / 0.7785 GB, free: 7.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4782, allocations: 4 kB / 0.7785 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4782, allocations: 4 kB / 0.7785 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4782, allocations: 3.938 kB / 0.7785 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.4786, allocations: 95.86 kB / 0.7786 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4786, allocations: 0 / 0.7786 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.4788, allocations: 63.73 kB / 0.7787 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4789, allocations: 15.92 kB / 0.7787 GB, free: 7.668 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.0001498/0.479, allocations: 148.2 kB / 0.7788 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.843e-05/0.4791, allocations: 23.84 kB / 0.7788 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.4805, allocations: 0.5083 MB / 0.7793 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4805, allocations: 7.984 kB / 0.7793 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4805, allocations: 4 kB / 0.7794 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4805, allocations: 0 / 0.7794 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.4809, allocations: 313.3 kB / 0.7796 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4809, allocations: 0 / 0.7796 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.4813, allocations: 99.78 kB / 0.7797 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4813, allocations: 0 / 0.7797 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.4813, allocations: 15.98 kB / 0.7798 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.4813, allocations: 11.94 kB / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4813, allocations: 0 / 0.7798 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.4825, allocations: 0.4888 MB / 0.7802 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.4826, allocations: 108.8 kB / 0.7804 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.4827, allocations: 4 kB / 0.7804 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.4829, allocations: 31.97 kB / 0.7804 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.4831, allocations: 123.8 kB / 0.7805 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.4831, allocations: 15.98 kB / 0.7805 GB, free: 5.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.4832, allocations: 95.27 kB / 0.7806 GB, free: 5.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4832, allocations: 0 / 0.7806 GB, free: 5.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003929/0.4836, allocations: 115.8 kB / 0.7807 GB, free: 5.477 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.0003439/0.484, allocations: 198.9 kB / 0.7809 GB, free: 5.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.4852, allocations: 451.2 kB / 0.7813 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4852, allocations: 0 / 0.7813 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.4858, allocations: 244.6 kB / 0.7816 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4862, allocations: 75.92 kB / 0.7816 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007988/0.487, allocations: 438 kB / 0.7821 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.4874, allocations: 0.7327 MB / 0.7828 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004034/0.4878, allocations: 186.3 kB / 0.783 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.4879, allocations: 39.42 kB / 0.783 GB, free: 3.109 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4879, allocations: 0 / 0.783 GB, free: 3.109 MB / 0.545 GB Notification: Performance of Templates: time 0.01026/0.4981, allocations: 5.345 MB / 0.7882 GB, free: 13.83 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)