Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 107.5 kB / 16.37 MB, free: 6.465 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.001166/0.001167, allocations: 186.3 kB / 17.31 MB, free: 5.824 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001455/0.001455, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2259, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.3412/0.5672, allocations: 4.01 MB / 0.7887 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.5674, allocations: 160.1 kB / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.5674, allocations: 3.438 kB / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.385e-05/0.5676, allocations: 4.656 kB / 0.7888 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.5676, allocations: 11.88 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.5679, allocations: 67.45 kB / 0.7889 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.568, allocations: 32.55 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.568, allocations: 0 / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.5681, allocations: 18.72 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.5682, allocations: 16.94 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.5682, allocations: 0.5625 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.5683, allocations: 60.25 kB / 0.789 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.5684, allocations: 8.188 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.5684, allocations: 11.84 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.5685, allocations: 33.33 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5685, allocations: 3.625 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5686, allocations: 0.8438 kB / 0.7891 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5686, allocations: 2.625 kB / 0.7891 GB, free: 46.49 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.0003044/0.5689, allocations: 336.2 kB / 0.7894 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.5689, allocations: 10.75 kB / 0.7894 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.569, allocations: 6.594 kB / 0.7894 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.569, allocations: 160.4 kB / 0.7896 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.5691, allocations: 31.61 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.5691, allocations: 3.125 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.5692, allocations: 55.09 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5692, allocations: 0 / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5693, allocations: 0 / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.5693, allocations: 3.938 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.5693, allocations: 15.88 kB / 0.7897 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.5697, allocations: 338.7 kB / 0.79 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/0.5697, allocations: 18.42 kB / 0.79 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.5698, allocations: 10.67 kB / 0.7901 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.5698, allocations: 86.42 kB / 0.7901 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.5699, allocations: 36.03 kB / 0.7902 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.5699, allocations: 0 / 0.7902 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.57, allocations: 36.45 kB / 0.7902 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.57, allocations: 54.12 kB / 0.7903 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.5701, allocations: 103.9 kB / 0.7904 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.5701, allocations: 25.7 kB / 0.7904 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.5701, allocations: 84.7 kB / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-06/0.5702, allocations: 4.406 kB / 0.7905 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.5702, allocations: 19.69 kB / 0.7905 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.5702, allocations: 317.4 kB / 0.7908 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.5703, allocations: 3.375 kB / 0.7908 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.5703, allocations: 18.52 kB / 0.7908 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.5703, allocations: 24.12 kB / 0.7908 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5703, allocations: 1 kB / 0.7908 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.139e-05/0.5704, allocations: 50.23 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5704, allocations: 5.344 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5704, allocations: 4.156 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5704, allocations: 3.188 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.5705, allocations: 9.031 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.5705, allocations: 0 / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.5705, allocations: 4.438 kB / 0.7909 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5705, allocations: 3.531 kB / 0.7909 GB, free: 44.64 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.581e-05/0.5706, allocations: 116.9 kB / 0.791 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.5706, allocations: 3.906 kB / 0.791 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.5707, allocations: 124.5 kB / 0.7911 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.5707, allocations: 179.6 kB / 0.7913 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.506e-05/0.5708, allocations: 179.3 kB / 0.7915 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.5708, allocations: 183.1 kB / 0.7917 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.5709, allocations: 406.7 kB / 0.792 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.571, allocations: 107.2 kB / 0.7921 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.571, allocations: 106.1 kB / 0.7922 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/0.571, allocations: 188.2 kB / 0.7924 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.571, allocations: 181.6 kB / 0.7926 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/0.5711, allocations: 182 kB / 0.7928 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.697e-05/0.5711, allocations: 183.6 kB / 0.7929 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.5712, allocations: 305.4 kB / 0.7932 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.5712, allocations: 184.2 kB / 0.7934 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5712, allocations: 189.7 kB / 0.7936 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5714, allocations: 103.6 kB / 0.7937 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.5714, allocations: 183.6 kB / 0.7939 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5714, allocations: 101.3 kB / 0.794 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.5715, allocations: 82.91 kB / 0.794 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.072e-06/0.5715, allocations: 0 / 0.794 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002269/0.5717, allocations: 28.14 kB / 0.7941 GB, free: 41.32 MB / 0.6544 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 (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.0001712/0.5719, allocations: 198 kB / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.413e-05/0.572, allocations: 7.625 kB / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.572, allocations: 2.719 kB / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.572, allocations: 3.375 kB / 0.7943 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.5723, allocations: 464.8 kB / 0.7947 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.5725, allocations: 214.2 kB / 0.7949 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.5726, allocations: 0.6749 MB / 0.7956 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.5727, allocations: 10.22 kB / 0.7956 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5727, allocations: 1.125 kB / 0.7956 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.001846/0.5745, allocations: 0.7297 MB / 0.7963 GB, free: 39.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)