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.005545/0.005545, allocations: 105.8 kB / 15.71 MB, free: 6.031 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.001317/0.001317, allocations: 197.8 kB / 16.65 MB, free: 5.965 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.3 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.002022/0.002022, allocations: 285.3 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.9347/0.9347, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 99.83 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4326, allocations: 86.97 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005599/0.4383, allocations: 4.422 MB / 0.7707 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.441, allocations: 2.702 MB / 0.7733 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.4411, allocations: 0 / 0.7733 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.4414, allocations: 47.67 kB / 0.7734 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.4416, allocations: 91.36 kB / 0.7735 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.4426, allocations: 0.4892 MB / 0.7739 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.4428, allocations: 235.9 kB / 0.7742 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.4429, allocations: 9.562 kB / 0.7742 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.4437, allocations: 422.4 kB / 0.7746 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4438, allocations: 91.66 kB / 0.7747 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.4439, allocations: 4 kB / 0.7747 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.4447, allocations: 499 kB / 0.7751 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.4448, allocations: 39.89 kB / 0.7752 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.4449, allocations: 75.64 kB / 0.7752 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.4455, allocations: 349.7 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4455, allocations: 0 / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4455, allocations: 4 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4455, allocations: 0 / 0.7756 GB, free: 10.47 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.0006734/0.4462, allocations: 0.4915 MB / 0.7761 GB, free: 9.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4462, allocations: 12.03 kB / 0.7761 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.4464, allocations: 24.73 kB / 0.7761 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4466, allocations: 216 kB / 0.7763 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4467, allocations: 12.7 kB / 0.7763 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.4467, allocations: 16.36 kB / 0.7763 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.447, allocations: 245.2 kB / 0.7766 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4471, allocations: 3.938 kB / 0.7766 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.4471, allocations: 11.98 kB / 0.7766 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.4471, allocations: 11.94 kB / 0.7766 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.4476, allocations: 427.5 kB / 0.777 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.4485, allocations: 1.004 MB / 0.778 GB, free: 7.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.4488, allocations: 165.2 kB / 0.7781 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.4489, allocations: 56.89 kB / 0.7782 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.4501, allocations: 1.825 MB / 0.78 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4502, allocations: 34.56 kB / 0.78 GB, free: 5.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4502, allocations: 4 kB / 0.78 GB, free: 5.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000317/0.4505, allocations: 149.3 kB / 0.7802 GB, free: 5.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4505, allocations: 55.34 kB / 0.7802 GB, free: 5.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.4507, allocations: 176.9 kB / 0.7804 GB, free: 4.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4507, allocations: 29.7 kB / 0.7804 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.4508, allocations: 139.8 kB / 0.7805 GB, free: 4.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4508, allocations: 55.28 kB / 0.7806 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.4509, allocations: 53.61 kB / 0.7806 GB, free: 4.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.451, allocations: 322.8 kB / 0.781 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.4511, allocations: 39.98 kB / 0.781 GB, free: 4.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4512, allocations: 139.5 kB / 0.7811 GB, free: 4.109 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.4514, allocations: 204.7 kB / 0.7813 GB, free: 3.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4514, allocations: 0 / 0.7813 GB, free: 3.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002996/0.4517, allocations: 213.1 kB / 0.7815 GB, free: 3.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4518, allocations: 10.81 kB / 0.7815 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4518, allocations: 11.94 kB / 0.7815 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4518, allocations: 4 kB / 0.7815 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.452, allocations: 59.84 kB / 0.7816 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.452, allocations: 11.94 kB / 0.7816 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.4521, allocations: 27.69 kB / 0.7816 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4521, allocations: 8 kB / 0.7816 GB, free: 3.52 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 9.358e-05/0.4522, allocations: 133.8 kB / 0.7818 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.4523, allocations: 15.91 kB / 0.7818 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4526, allocations: 154.9 kB / 0.7819 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4526, allocations: 11.94 kB / 0.7819 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4526, allocations: 0 / 0.7819 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4526, allocations: 0 / 0.7819 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.4528, allocations: 217.5 kB / 0.7822 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4528, allocations: 0 / 0.7822 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.4529, allocations: 27.98 kB / 0.7822 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4529, allocations: 3.938 kB / 0.7822 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4529, allocations: 7.984 kB / 0.7822 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.453, allocations: 7.938 kB / 0.7822 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.453, allocations: 0 / 0.7822 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.4532, allocations: 222.6 kB / 0.7824 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.4533, allocations: 112.8 kB / 0.7825 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.4533, allocations: 4 kB / 0.7825 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.4535, allocations: 23.92 kB / 0.7825 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4536, allocations: 7.984 kB / 0.7826 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4536, allocations: 8 kB / 0.7826 GB, free: 2.484 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.4537, allocations: 116 kB / 0.7827 GB, free: 2.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4537, allocations: 4 kB / 0.7827 GB, free: 2.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003737/0.454, allocations: 87.92 kB / 0.7828 GB, free: 2.281 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.0002666/0.4543, allocations: 171.1 kB / 0.7829 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4546, allocations: 124.2 kB / 0.783 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4546, allocations: 4 kB / 0.783 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.4546, allocations: 43.92 kB / 0.7831 GB, free: 1.934 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.4551, allocations: 39.16 kB / 0.7831 GB, free: 1.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.4557, allocations: 350.8 kB / 0.7835 GB, free: 1.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4559, allocations: 0.7168 MB / 0.7842 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.4561, allocations: 49.67 kB / 0.7842 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.4561, allocations: 27.44 kB / 0.7842 GB, free: 0.707 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4561, allocations: 0 / 0.7842 GB, free: 0.707 MB / 0.545 GB Notification: Performance of Templates: time 0.0062/0.4623, allocations: 3.339 MB / 0.7875 GB, free: 13.41 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)