Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005048/0.005048, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001067/0.001068, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 290.5 kB / 290.8 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.9101/0.9101, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 91.86 kB / 0.6815 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4621, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005951/0.4681, allocations: 4.43 MB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.4709, allocations: 2.683 MB / 0.7734 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.471, allocations: 4 kB / 0.7734 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.4713, allocations: 43.67 kB / 0.7734 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.4716, allocations: 99.36 kB / 0.7735 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.4728, allocations: 496.3 kB / 0.774 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.4731, allocations: 236 kB / 0.7742 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.4732, allocations: 17.55 kB / 0.7742 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.4742, allocations: 416.5 kB / 0.7746 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4743, allocations: 91.64 kB / 0.7747 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.4744, allocations: 8 kB / 0.7747 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009385/0.4753, allocations: 491 kB / 0.7752 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.4754, allocations: 43.89 kB / 0.7752 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.4755, allocations: 87.52 kB / 0.7753 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.476, allocations: 341.8 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.476, allocations: 0 / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.477e-06/0.4761, allocations: 0 / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.4761, allocations: 7.938 kB / 0.7756 GB, free: 10.46 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007639/0.4768, allocations: 495.4 kB / 0.7761 GB, free: 9.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4769, allocations: 8.031 kB / 0.7761 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.477, allocations: 32.73 kB / 0.7761 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4773, allocations: 216 kB / 0.7764 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4774, allocations: 16.64 kB / 0.7764 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.4774, allocations: 16.38 kB / 0.7764 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.4777, allocations: 253.1 kB / 0.7766 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4778, allocations: 0 / 0.7766 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4778, allocations: 8 kB / 0.7766 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.4778, allocations: 8 kB / 0.7766 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.4783, allocations: 431.4 kB / 0.7771 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4795, allocations: 1.008 MB / 0.778 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4798, allocations: 159.1 kB / 0.7782 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.4799, allocations: 60.89 kB / 0.7782 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.4811, allocations: 1.825 MB / 0.78 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4812, allocations: 34.56 kB / 0.7801 GB, free: 5.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4812, allocations: 7.938 kB / 0.7801 GB, free: 5.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003086/0.4815, allocations: 144.6 kB / 0.7802 GB, free: 5.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4815, allocations: 55.34 kB / 0.7803 GB, free: 5.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4817, allocations: 175 kB / 0.7804 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4817, allocations: 25.7 kB / 0.7805 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.4818, allocations: 143.8 kB / 0.7806 GB, free: 4.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4818, allocations: 63.2 kB / 0.7806 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.4819, allocations: 53.61 kB / 0.7807 GB, free: 4.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.482, allocations: 322.8 kB / 0.781 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.4821, allocations: 35.98 kB / 0.781 GB, free: 4.285 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4822, allocations: 143.5 kB / 0.7812 GB, free: 4.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.4824, allocations: 197.5 kB / 0.7814 GB, free: 3.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4825, allocations: 4 kB / 0.7814 GB, free: 3.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000297/0.4828, allocations: 216.4 kB / 0.7816 GB, free: 3.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4828, allocations: 8 kB / 0.7816 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4828, allocations: 4 kB / 0.7816 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4828, allocations: 4 kB / 0.7816 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.483, allocations: 63.84 kB / 0.7817 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.483, allocations: 7.938 kB / 0.7817 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.4831, allocations: 27.69 kB / 0.7817 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.4831, allocations: 12.38 kB / 0.7817 GB, free: 3.512 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001076/0.4833, allocations: 133.8 kB / 0.7818 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.4833, allocations: 11.91 kB / 0.7818 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.4836, allocations: 158.9 kB / 0.782 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4836, allocations: 7.938 kB / 0.782 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4836, allocations: 3.938 kB / 0.782 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4836, allocations: 0 / 0.782 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.4839, allocations: 213.5 kB / 0.7822 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4839, allocations: 0 / 0.7822 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.484, allocations: 31.92 kB / 0.7822 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.484, allocations: 4 kB / 0.7822 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.484, allocations: 8 kB / 0.7822 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.484, allocations: 7.938 kB / 0.7823 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.484, allocations: 0 / 0.7823 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.4842, allocations: 211.3 kB / 0.7825 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.4843, allocations: 108.9 kB / 0.7826 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4844, allocations: 11.94 kB / 0.7826 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.4846, allocations: 19.92 kB / 0.7826 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.4846, allocations: 11.98 kB / 0.7826 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.4846, allocations: 12 kB / 0.7826 GB, free: 2.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.124e-05/0.4847, allocations: 113.8 kB / 0.7827 GB, free: 2.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.535e-06/0.4847, allocations: 0 / 0.7827 GB, free: 2.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003769/0.4851, allocations: 91.86 kB / 0.7828 GB, free: 2.277 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003081/0.4854, allocations: 175.1 kB / 0.783 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.4857, allocations: 123.7 kB / 0.7831 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4857, allocations: 0 / 0.7831 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.4858, allocations: 47.16 kB / 0.7831 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4862, allocations: 52.88 kB / 0.7832 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.4869, allocations: 342.8 kB / 0.7835 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4871, allocations: 0.7128 MB / 0.7842 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.4873, allocations: 53.67 kB / 0.7843 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4873, allocations: 23.44 kB / 0.7843 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4873, allocations: 0 / 0.7843 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of Templates: time 0.006455/0.4938, allocations: 3.362 MB / 0.7876 GB, free: 13.38 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)