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.001405/0.001405, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001192/0.001192, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.318/1.318, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7646/0.7646, allocations: 122.8 MB / 414.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 0.4912 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 77.92 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004589/0.3972, allocations: 3.318 MB / 0.5706 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001048/0.3973, allocations: 54.84 kB / 0.5706 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.3974, allocations: 1.594 kB / 0.5706 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.826e-05/0.3975, allocations: 1.953 kB / 0.5706 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3976, allocations: 13.83 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.3981, allocations: 175.9 kB / 0.5708 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.3982, allocations: 37.88 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.3983, allocations: 3.828 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.3983, allocations: 16.48 kB / 0.5709 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.3984, allocations: 16.2 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3984, allocations: 1.156 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.3987, allocations: 177.7 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.3988, allocations: 5.141 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.3988, allocations: 10.53 kB / 0.5711 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.399, allocations: 91.02 kB / 0.5711 GB, free: 30.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.399, allocations: 1.094 kB / 0.5711 GB, free: 30.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3991, allocations: 0 / 0.5711 GB, free: 30.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3991, allocations: 0 / 0.5711 GB, free: 30.25 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.0003231/0.3994, allocations: 351.5 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3994, allocations: 10.31 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3995, allocations: 7.094 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.878e-05/0.3996, allocations: 167.3 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.3996, allocations: 28.02 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3996, allocations: 2.109 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3998, allocations: 47.7 kB / 0.5717 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3998, allocations: 0.5625 kB / 0.5717 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3998, allocations: 5.906 kB / 0.5717 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.3998, allocations: 5.891 kB / 0.5717 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.3999, allocations: 13.56 kB / 0.5718 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.4004, allocations: 0.5839 MB / 0.5723 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.589e-05/0.4004, allocations: 15.61 kB / 0.5723 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.4004, allocations: 6.969 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.4006, allocations: 340.6 kB / 0.5727 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4006, allocations: 35.72 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.4006, allocations: 5.312 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.4008, allocations: 33.16 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.4008, allocations: 53.78 kB / 0.5728 GB, free: 28.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.4009, allocations: 105.9 kB / 0.5729 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.4009, allocations: 28.12 kB / 0.5729 GB, free: 28.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.4009, allocations: 87.36 kB / 0.573 GB, free: 28.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.4009, allocations: 7.844 kB / 0.573 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.4009, allocations: 19.75 kB / 0.573 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.401, allocations: 318.4 kB / 0.5733 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.401, allocations: 3.266 kB / 0.5733 GB, free: 27.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.4011, allocations: 19.94 kB / 0.5734 GB, free: 27.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.4011, allocations: 22.02 kB / 0.5734 GB, free: 27.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4011, allocations: 2.141 kB / 0.5734 GB, free: 27.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.747e-05/0.4012, allocations: 49.31 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4012, allocations: 6.406 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4012, allocations: 1.875 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4012, allocations: 1.562 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.4013, allocations: 9.547 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4013, allocations: 2.172 kB / 0.5735 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.4013, allocations: 0 / 0.5735 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4013, allocations: 2.406 kB / 0.5735 GB, free: 27.75 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 5.17e-05/0.4014, allocations: 119.5 kB / 0.5736 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.4014, allocations: 1.094 kB / 0.5736 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/0.4015, allocations: 130 kB / 0.5737 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.4015, allocations: 180.4 kB / 0.5739 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.503e-05/0.4016, allocations: 182.2 kB / 0.574 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.4016, allocations: 180.2 kB / 0.5742 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.4017, allocations: 407 kB / 0.5746 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.4018, allocations: 113.6 kB / 0.5747 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.4018, allocations: 103.4 kB / 0.5748 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-05/0.4018, allocations: 179 kB / 0.575 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.4018, allocations: 181.9 kB / 0.5751 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-05/0.4019, allocations: 178.7 kB / 0.5753 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-05/0.4019, allocations: 187.6 kB / 0.5755 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.908e-05/0.402, allocations: 315.5 kB / 0.5758 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.402, allocations: 181.1 kB / 0.576 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.4021, allocations: 182.1 kB / 0.5761 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4022, allocations: 113.9 kB / 0.5763 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.4022, allocations: 177.2 kB / 0.5764 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.4022, allocations: 106.5 kB / 0.5765 GB, free: 24.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.121e-05/0.4023, allocations: 83.38 kB / 0.5766 GB, free: 24.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4023, allocations: 0 / 0.5766 GB, free: 24.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.4026, allocations: 42.72 kB / 0.5766 GB, free: 24.36 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.0002446/0.4028, allocations: 231.7 kB / 0.5769 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.4029, allocations: 12.97 kB / 0.5769 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4029, allocations: 1.188 kB / 0.5769 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.4029, allocations: 0 / 0.5769 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.4033, allocations: 472.3 kB / 0.5773 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.4035, allocations: 217.1 kB / 0.5775 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.4037, allocations: 0.6756 MB / 0.5782 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.4037, allocations: 9.469 kB / 0.5782 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4037, allocations: 0 / 0.5782 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.003319/0.407, allocations: 1.185 MB / 0.5794 GB, free: 22.67 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)