Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.8 kB / 16.36 MB, free: 6.309 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.0009633/0.0009633, allocations: 189.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.02 kB / 0.6729 GB, free: 5.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1949, allocations: 114.5 MB / 0.7848 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.3312/0.5261, allocations: 3.731 MB / 0.7884 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.5263, allocations: 150.3 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.5265, allocations: 0.75 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.5266, allocations: 5.688 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.5266, allocations: 11.33 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.5269, allocations: 71.75 kB / 0.7886 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.527, allocations: 30 kB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.5271, allocations: 4.938 kB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.5271, allocations: 12.47 kB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.5272, allocations: 12.03 kB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.5272, allocations: 3.375 kB / 0.7887 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.5277, allocations: 189.9 kB / 0.7889 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.5277, allocations: 6.547 kB / 0.7889 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.5278, allocations: 16.16 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.5279, allocations: 38.2 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5279, allocations: 0 / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5279, allocations: 2.812 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5279, allocations: 1.406 kB / 0.7889 GB, free: 46.52 MB / 0.6544 GB 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.0003047/0.5282, allocations: 337.8 kB / 0.7893 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5283, allocations: 13.69 kB / 0.7893 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.5283, allocations: 0.9375 kB / 0.7893 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.068e-05/0.5284, allocations: 164.6 kB / 0.7894 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.5284, allocations: 27.98 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5285, allocations: 3.188 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.5286, allocations: 44.86 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5286, allocations: 9.547 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.5286, allocations: 1.062 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.5286, allocations: 0.5312 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.5287, allocations: 18.64 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.529, allocations: 333.5 kB / 0.7899 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 2.89e-05/0.5291, allocations: 21.52 kB / 0.7899 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.5291, allocations: 11.33 kB / 0.7899 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.5291, allocations: 86.73 kB / 0.79 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5292, allocations: 36.28 kB / 0.79 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.5292, allocations: 0 / 0.79 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.5293, allocations: 40.61 kB / 0.79 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.419e-05/0.5293, allocations: 53.16 kB / 0.7901 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.169e-05/0.5294, allocations: 101.3 kB / 0.7902 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.5294, allocations: 26.73 kB / 0.7902 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.5294, allocations: 94.8 kB / 0.7903 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.5294, allocations: 0 / 0.7903 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.5295, allocations: 13.53 kB / 0.7903 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.5295, allocations: 323.3 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.5295, allocations: 5.75 kB / 0.7906 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.5296, allocations: 23.59 kB / 0.7907 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.5296, allocations: 17.59 kB / 0.7907 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5296, allocations: 0 / 0.7907 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.093e-05/0.5297, allocations: 52.47 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5297, allocations: 5.906 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5297, allocations: 1.016 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5297, allocations: 0 / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.5297, allocations: 7.438 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5298, allocations: 3.141 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.5298, allocations: 10.28 kB / 0.7907 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5298, allocations: 0 / 0.7907 GB, free: 44.67 MB / 0.6544 GB 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 4.151e-05/0.5298, allocations: 117.4 kB / 0.7909 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.5299, allocations: 0 / 0.7909 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.53, allocations: 122.8 kB / 0.791 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.53, allocations: 178.6 kB / 0.7911 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.53, allocations: 111 kB / 0.7913 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.53, allocations: 184.2 kB / 0.7914 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.5301, allocations: 183.9 kB / 0.7916 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5302, allocations: 116.1 kB / 0.7917 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.5302, allocations: 179 kB / 0.7919 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.017e-05/0.5303, allocations: 257.7 kB / 0.7921 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.444e-05/0.5304, allocations: 382.4 kB / 0.7925 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.279e-05/0.5304, allocations: 107.1 kB / 0.7926 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.5304, allocations: 87.72 kB / 0.7927 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of Backend: time 4.21e-07/0.5304, allocations: 0 / 0.7927 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.5308, allocations: 104.8 kB / 0.7928 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000309/0.5311, allocations: 0.8728 MB / 0.7936 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.00245/0.5336, allocations: 0.5478 MB / 0.7942 GB, free: 41.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)