Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8212/0.8212, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 188.5 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 103.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 289.2 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 80.11 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.352, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004711/0.3568, allocations: 3.786 MB / 0.7716 GB, free: 23.84 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.357, allocations: 151.5 kB / 0.7718 GB, free: 23.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.357, allocations: 0 / 0.7718 GB, free: 23.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3571, allocations: 0 / 0.7718 GB, free: 23.7 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.3572, allocations: 15.91 kB / 0.7718 GB, free: 23.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3575, allocations: 86.38 kB / 0.7719 GB, free: 23.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.3576, allocations: 55.83 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3576, allocations: 7.984 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.3577, allocations: 15.92 kB / 0.7719 GB, free: 23.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.3577, allocations: 8 kB / 0.7719 GB, free: 23.51 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3578, allocations: 0 / 0.7719 GB, free: 23.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.3582, allocations: 203.5 kB / 0.7721 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.3583, allocations: 3.984 kB / 0.7721 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.3583, allocations: 15.92 kB / 0.7722 GB, free: 23.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3585, allocations: 42.64 kB / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3585, allocations: 0 / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3585, allocations: 0 / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3585, allocations: 0 / 0.7722 GB, free: 23.25 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000415/0.3589, allocations: 343.4 kB / 0.7725 GB, free: 22.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.359, allocations: 15.97 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.359, allocations: 4.938 kB / 0.7725 GB, free: 22.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.703e-05/0.3591, allocations: 164.4 kB / 0.7727 GB, free: 22.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.3592, allocations: 34.2 kB / 0.7727 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.3592, allocations: 4.359 kB / 0.7727 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3594, allocations: 49.61 kB / 0.7728 GB, free: 22.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3594, allocations: 0 / 0.7728 GB, free: 22.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3594, allocations: 4 kB / 0.7728 GB, free: 22.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3594, allocations: 0 / 0.7728 GB, free: 22.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.3595, allocations: 15.98 kB / 0.7728 GB, free: 22.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.3598, allocations: 338 kB / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.834e-05/0.3599, allocations: 22.52 kB / 0.7731 GB, free: 22.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.3599, allocations: 8.922 kB / 0.7732 GB, free: 22.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.165e-05/0.36, allocations: 81.11 kB / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.36, allocations: 30.56 kB / 0.7733 GB, free: 21.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.36, allocations: 4 kB / 0.7733 GB, free: 21.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.3601, allocations: 45.59 kB / 0.7733 GB, free: 21.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.3602, allocations: 55.34 kB / 0.7734 GB, free: 21.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.3602, allocations: 101.8 kB / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.3602, allocations: 25.7 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.3603, allocations: 88.05 kB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.3603, allocations: 3.938 kB / 0.7736 GB, free: 21.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.3603, allocations: 13.72 kB / 0.7736 GB, free: 21.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.3604, allocations: 322.9 kB / 0.7739 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.3604, allocations: 7.984 kB / 0.7739 GB, free: 21.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.3604, allocations: 13.72 kB / 0.7739 GB, free: 21.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.3604, allocations: 21.72 kB / 0.7739 GB, free: 21.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3605, allocations: 0 / 0.7739 GB, free: 21.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.09e-05/0.3605, allocations: 53.62 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3605, allocations: 4 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3605, allocations: 0 / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3606, allocations: 4 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.3606, allocations: 7.984 kB / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3606, allocations: 0 / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.3606, allocations: 7.844 kB / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3607, allocations: 4 kB / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.168e-05/0.3607, allocations: 113.7 kB / 0.7741 GB, free: 21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3607, allocations: 8.062 kB / 0.7741 GB, free: 20.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.3608, allocations: 121 kB / 0.7742 GB, free: 20.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.3609, allocations: 180.3 kB / 0.7744 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.3609, allocations: 184.2 kB / 0.7746 GB, free: 20.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.3609, allocations: 176.3 kB / 0.7748 GB, free: 20.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.361, allocations: 421 kB / 0.7752 GB, free: 19.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.3611, allocations: 101 kB / 0.7753 GB, free: 19.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.3611, allocations: 104.9 kB / 0.7754 GB, free: 19.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/0.3611, allocations: 184.2 kB / 0.7755 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3612, allocations: 180.3 kB / 0.7757 GB, free: 19.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.339e-05/0.3612, allocations: 180.2 kB / 0.7759 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-05/0.3612, allocations: 180.3 kB / 0.776 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.3614, allocations: 0.8492 MB / 0.7769 GB, free: 17.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.3614, allocations: 182.4 kB / 0.7771 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.3615, allocations: 184.3 kB / 0.7772 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.3616, allocations: 112.9 kB / 0.7773 GB, free: 17.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3617, allocations: 180.2 kB / 0.7775 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3617, allocations: 112.9 kB / 0.7776 GB, free: 17.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.639e-05/0.3617, allocations: 83.28 kB / 0.7777 GB, free: 17.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3617, allocations: 0 / 0.7777 GB, free: 17.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000327/0.362, allocations: 12 kB / 0.7777 GB, free: 17.07 MB / 458.7 MB 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 (0): * Single equations (assignments): 0 * 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.0002278/0.3623, allocations: 207 kB / 0.7779 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.3624, allocations: 7.984 kB / 0.7779 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3624, allocations: 0 / 0.7779 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.3624, allocations: 0 / 0.7779 GB, free: 16.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3627, allocations: 0.5335 MB / 0.7784 GB, free: 16.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.3629, allocations: 187.5 kB / 0.7786 GB, free: 16.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.803e-05/0.363, allocations: 0.6731 MB / 0.7793 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.3631, allocations: 11.98 kB / 0.7793 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.3631, allocations: 7.438 kB / 0.7793 GB, free: 15.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3631, allocations: 0 / 0.7793 GB, free: 15.39 MB / 458.7 MB Notification: Performance of Templates: time 0.002186/0.3653, allocations: 0.634 MB / 0.7799 GB, free: 14.77 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)