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.005339/0.005338, allocations: 98.08 kB / 15.73 MB, free: 6.035 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.00116/0.00116, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 290.4 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 96.16 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1733, allocations: 86.98 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005691/0.179, allocations: 4.428 MB / 0.7707 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002832/0.1819, allocations: 2.687 MB / 0.7734 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.1819, allocations: 0 / 0.7734 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1822, allocations: 55.66 kB / 0.7734 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1825, allocations: 87.44 kB / 0.7735 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1836, allocations: 0.4915 MB / 0.774 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1839, allocations: 239.9 kB / 0.7742 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.1839, allocations: 9.562 kB / 0.7742 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3228/0.5067, allocations: 416.2 kB / 0.7746 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.507, allocations: 94.55 kB / 0.7747 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.5071, allocations: 7.438 kB / 0.7747 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.5083, allocations: 490.3 kB / 0.7752 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.5084, allocations: 34.11 kB / 0.7752 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.5085, allocations: 83.53 kB / 0.7753 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.5092, allocations: 348.1 kB / 0.7756 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5092, allocations: 0 / 0.7756 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5092, allocations: 3.688 kB / 0.7756 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.5092, allocations: 0 / 0.7756 GB, free: 9.898 MB / 0.5606 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.0006244/0.5098, allocations: 0.5061 MB / 0.7761 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5099, allocations: 8.781 kB / 0.7761 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.5101, allocations: 23.92 kB / 0.7762 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.5103, allocations: 216.3 kB / 0.7764 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5103, allocations: 13.25 kB / 0.7764 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5103, allocations: 12.81 kB / 0.7764 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.5108, allocations: 257.7 kB / 0.7766 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5108, allocations: 2.812 kB / 0.7766 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.5108, allocations: 6.375 kB / 0.7766 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.5108, allocations: 7.672 kB / 0.7766 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.5113, allocations: 433.6 kB / 0.7771 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.5122, allocations: 1.004 MB / 0.778 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.5125, allocations: 164.4 kB / 0.7782 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.5126, allocations: 63.09 kB / 0.7783 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.5137, allocations: 1.83 MB / 0.78 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5137, allocations: 33.22 kB / 0.7801 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.5137, allocations: 3.719 kB / 0.7801 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003727/0.5141, allocations: 151.4 kB / 0.7802 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5141, allocations: 57.09 kB / 0.7803 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.5143, allocations: 165 kB / 0.7804 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5143, allocations: 33.66 kB / 0.7805 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.5144, allocations: 137.6 kB / 0.7806 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5145, allocations: 61.47 kB / 0.7807 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.5146, allocations: 52.64 kB / 0.7807 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.5146, allocations: 330.3 kB / 0.781 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.5147, allocations: 38.06 kB / 0.7811 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5148, allocations: 136.7 kB / 0.7812 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.5151, allocations: 200.1 kB / 0.7814 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.5151, allocations: 5.719 kB / 0.7814 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003674/0.5155, allocations: 213.6 kB / 0.7816 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5155, allocations: 6.812 kB / 0.7816 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5155, allocations: 6.062 kB / 0.7816 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.5155, allocations: 4.828 kB / 0.7816 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.5157, allocations: 55.77 kB / 0.7817 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.5158, allocations: 11.06 kB / 0.7817 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.5159, allocations: 28.78 kB / 0.7817 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5159, allocations: 17.05 kB / 0.7817 GB, free: 5.23 MB / 0.5606 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.0003312/0.5162, allocations: 132.3 kB / 0.7818 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.5163, allocations: 16.06 kB / 0.7819 GB, free: 21.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.5166, allocations: 156.6 kB / 0.782 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5166, allocations: 6.359 kB / 0.782 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5166, allocations: 4.594 kB / 0.782 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5167, allocations: 1.75 kB / 0.782 GB, free: 21.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.5169, allocations: 212.5 kB / 0.7822 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5169, allocations: 3.469 kB / 0.7822 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.517, allocations: 28.67 kB / 0.7822 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.517, allocations: 1.734 kB / 0.7823 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.517, allocations: 5.125 kB / 0.7823 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.517, allocations: 3.969 kB / 0.7823 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.517, allocations: 4.594 kB / 0.7823 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.5173, allocations: 226.9 kB / 0.7825 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.5174, allocations: 106.7 kB / 0.7826 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5174, allocations: 1.375 kB / 0.7826 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.5176, allocations: 15.72 kB / 0.7826 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.5176, allocations: 14.59 kB / 0.7826 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5177, allocations: 11.52 kB / 0.7826 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.5177, allocations: 129 kB / 0.7827 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5178, allocations: 0 / 0.7827 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003724/0.5181, allocations: 78.78 kB / 0.7828 GB, free: 20.52 MB / 0.5762 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.0002951/0.5184, allocations: 187.3 kB / 0.783 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.5187, allocations: 118.6 kB / 0.7831 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5187, allocations: 0.9062 kB / 0.7831 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.5188, allocations: 44.62 kB / 0.7832 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.5192, allocations: 52 kB / 0.7832 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.5198, allocations: 351.7 kB / 0.7835 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.5201, allocations: 0.7146 MB / 0.7842 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001387/0.5202, allocations: 45.58 kB / 0.7843 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.5202, allocations: 29.31 kB / 0.7843 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5203, allocations: 0 / 0.7843 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.006375/0.5266, allocations: 3.359 MB / 0.7876 GB, free: 19.21 MB / 0.5762 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)