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.001497/0.001497, allocations: 113 kB / 16.42 MB, free: 6.449 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.001646/0.001646, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 288.2 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 0.9261/0.9261, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3725, allocations: 86.98 MB / 0.767 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002246/0.3748, allocations: 1.381 MB / 0.7684 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.3782, allocations: 2.911 MB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.3782, allocations: 0 / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-05/0.3783, allocations: 7.922 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3784, allocations: 39.81 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.379, allocations: 191.1 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.3792, allocations: 235.5 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.3793, allocations: 7.656 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.3794, allocations: 99.77 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3795, allocations: 119.8 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.3796, allocations: 12 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.3799, allocations: 135.9 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.38, allocations: 91.75 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.3801, allocations: 87.64 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3805, allocations: 273.8 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3805, allocations: 4 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3805, allocations: 0 / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3805, allocations: 3.938 kB / 0.7725 GB, free: 14.19 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.0007828/0.3813, allocations: 0.53 MB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3813, allocations: 8.031 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.3815, allocations: 20.75 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3817, allocations: 242 kB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.3817, allocations: 24.36 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.3818, allocations: 16.38 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.3824, allocations: 294.2 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3824, allocations: 7.984 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3825, allocations: 4 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3825, allocations: 4 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.3839, allocations: 0.7491 MB / 0.7743 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3842, allocations: 305.3 kB / 0.7746 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.3859, allocations: 0.6775 MB / 0.7753 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.3864, allocations: 229.3 kB / 0.7755 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000368/0.3868, allocations: 392.1 kB / 0.7759 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3868, allocations: 46.5 kB / 0.7759 GB, free: 10.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.3868, allocations: 3.938 kB / 0.7759 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001628/0.3885, allocations: 0.6422 MB / 0.7766 GB, free: 9.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.3885, allocations: 59.16 kB / 0.7766 GB, free: 9.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.3886, allocations: 130 kB / 0.7767 GB, free: 9.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3886, allocations: 37.7 kB / 0.7768 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.3887, allocations: 84.8 kB / 0.7769 GB, free: 9.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3888, allocations: 126.2 kB / 0.777 GB, free: 9.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.3889, allocations: 65.69 kB / 0.777 GB, free: 9.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.389, allocations: 326.8 kB / 0.7773 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.3895, allocations: 195.8 kB / 0.7775 GB, free: 8.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.39, allocations: 199.9 kB / 0.7777 GB, free: 8.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.3909, allocations: 360.3 kB / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3909, allocations: 0 / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001069/0.392, allocations: 465.2 kB / 0.7785 GB, free: 7.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.392, allocations: 7.938 kB / 0.7785 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.392, allocations: 0 / 0.7785 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.392, allocations: 4 kB / 0.7785 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.3924, allocations: 99.86 kB / 0.7786 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3924, allocations: 4 kB / 0.7786 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.3926, allocations: 47.73 kB / 0.7787 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3926, allocations: 19.92 kB / 0.7787 GB, free: 7.547 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.00012/0.3927, allocations: 137.8 kB / 0.7788 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.3928, allocations: 23.73 kB / 0.7788 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.394, allocations: 0.5211 MB / 0.7793 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.394, allocations: 0 / 0.7793 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.394, allocations: 0 / 0.7793 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.3941, allocations: 100.8 kB / 0.7794 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.3941, allocations: 4 kB / 0.7794 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3943, allocations: 35.95 kB / 0.7795 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.3945, allocations: 123.8 kB / 0.7796 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00125/0.3958, allocations: 0.5979 MB / 0.7802 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001158/0.397, allocations: 0.6347 MB / 0.7808 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005285/0.3975, allocations: 259.9 kB / 0.7811 GB, free: 5.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.3976, allocations: 103.1 kB / 0.7812 GB, free: 4.969 MB / 0.545 GB Notification: Performance of Backend: time 3.4e-07/0.3976, allocations: 0 / 0.7812 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.3987, allocations: 429.9 kB / 0.7816 GB, free: 4.543 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007142/0.3994, allocations: 0.7956 MB / 0.7823 GB, free: 3.699 MB / 0.545 GB Notification: Performance of Templates: time 0.009051/0.4085, allocations: 5.744 MB / 0.7879 GB, free: 14.03 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)