Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001123/0.001123, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7519/0.7519, allocations: 122.9 MB / 413.6 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4081, allocations: 77.92 MB / 0.5667 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005282/0.4134, allocations: 3.319 MB / 0.5699 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.724e-05/0.4136, allocations: 56.05 kB / 0.57 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.4136, allocations: 0 / 0.57 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.4137, allocations: 1.375 kB / 0.57 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.4138, allocations: 13.05 kB / 0.57 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.4144, allocations: 176.3 kB / 0.5702 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.4145, allocations: 35.59 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.4145, allocations: 2.641 kB / 0.5702 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.4146, allocations: 22.34 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.4146, allocations: 10.16 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4147, allocations: 0.9375 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.415, allocations: 180.9 kB / 0.5704 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.4151, allocations: 5.094 kB / 0.5704 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.4151, allocations: 15.89 kB / 0.5704 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.4154, allocations: 132.7 kB / 0.5705 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4154, allocations: 3.938 kB / 0.5705 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4154, allocations: 1.562 kB / 0.5706 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.4155, allocations: 1.25 kB / 0.5706 GB, free: 30.02 MB / 446.1 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.0003824/0.4158, allocations: 346 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4159, allocations: 10.5 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.4159, allocations: 4.031 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.416, allocations: 166.5 kB / 0.5711 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.4161, allocations: 28.73 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.4161, allocations: 6.047 kB / 0.5711 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4162, allocations: 48.09 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4162, allocations: 3.984 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4163, allocations: 2.562 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.4163, allocations: 1.984 kB / 0.5711 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.4163, allocations: 19.64 kB / 0.5712 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.4169, allocations: 0.5784 MB / 0.5717 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.4169, allocations: 18.59 kB / 0.5717 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.417, allocations: 10.67 kB / 0.5718 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.4171, allocations: 339.5 kB / 0.5721 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4172, allocations: 33.19 kB / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4172, allocations: 0 / 0.5721 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.4173, allocations: 42.44 kB / 0.5721 GB, free: 28.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4174, allocations: 57.66 kB / 0.5722 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.4174, allocations: 102.5 kB / 0.5723 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.4174, allocations: 25.7 kB / 0.5723 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.4175, allocations: 92.52 kB / 0.5724 GB, free: 27.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.4175, allocations: 4.75 kB / 0.5724 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.4175, allocations: 15.17 kB / 0.5724 GB, free: 27.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.4176, allocations: 321.4 kB / 0.5727 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.4176, allocations: 3.984 kB / 0.5727 GB, free: 27.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.4176, allocations: 18.03 kB / 0.5728 GB, free: 27.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.4177, allocations: 25.09 kB / 0.5728 GB, free: 27.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4177, allocations: 3.938 kB / 0.5728 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.615e-05/0.4178, allocations: 46.05 kB / 0.5728 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4178, allocations: 8.344 kB / 0.5728 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4178, allocations: 1.281 kB / 0.5728 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4178, allocations: 6.203 kB / 0.5728 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.4179, allocations: 4.953 kB / 0.5729 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4179, allocations: 2.812 kB / 0.5729 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.4179, allocations: 0.9375 kB / 0.5729 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4179, allocations: 1.641 kB / 0.5729 GB, free: 27.52 MB / 446.1 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 6.171e-05/0.418, allocations: 113.5 kB / 0.573 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.418, allocations: 5.547 kB / 0.573 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.4181, allocations: 123.9 kB / 0.5731 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/0.4182, allocations: 181.9 kB / 0.5733 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/0.4182, allocations: 179 kB / 0.5734 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-05/0.4183, allocations: 182.4 kB / 0.5736 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.4184, allocations: 413 kB / 0.574 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/0.4185, allocations: 103.5 kB / 0.5741 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.4185, allocations: 106.7 kB / 0.5742 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.228e-05/0.4185, allocations: 179.3 kB / 0.5744 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4186, allocations: 187.1 kB / 0.5746 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.013e-05/0.4186, allocations: 177.8 kB / 0.5747 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.1e-05/0.4186, allocations: 182 kB / 0.5749 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.4187, allocations: 309.8 kB / 0.5752 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.4188, allocations: 188.5 kB / 0.5754 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.4188, allocations: 179.3 kB / 0.5755 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.419, allocations: 109.4 kB / 0.5756 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.419, allocations: 183.3 kB / 0.5758 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.4191, allocations: 103 kB / 0.5759 GB, free: 24.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.4191, allocations: 87.2 kB / 0.576 GB, free: 24.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4191, allocations: 0.625 kB / 0.576 GB, free: 24.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.4194, allocations: 40.72 kB / 0.576 GB, free: 24.14 MB / 446.1 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.0002909/0.4197, allocations: 241.5 kB / 0.5763 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.4198, allocations: 10.41 kB / 0.5763 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4198, allocations: 0 / 0.5763 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.4198, allocations: 0 / 0.5763 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.4202, allocations: 463.1 kB / 0.5767 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.4205, allocations: 198.9 kB / 0.5769 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.4206, allocations: 0.6795 MB / 0.5776 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.4207, allocations: 9.328 kB / 0.5776 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.4207, allocations: 9.625 kB / 0.5776 GB, free: 22.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4207, allocations: 4.812 kB / 0.5776 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Templates: time 0.004191/0.4249, allocations: 1.197 MB / 0.5788 GB, free: 22.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)