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.001153/0.001153, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.001121/0.001121, allocations: 195 kB / 17.98 MB, free: 5.02 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7325/0.7325, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 76.15 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003958/0.333, allocations: 3.266 MB / 0.5608 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 7.957e-05/0.3331, allocations: 52.25 kB / 0.5608 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.3331, allocations: 0 / 0.5608 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.995e-05/0.3332, allocations: 4.641 kB / 0.5608 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.3333, allocations: 18.41 kB / 0.5608 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3337, allocations: 181.3 kB / 0.561 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.3338, allocations: 37.86 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.3338, allocations: 1.891 kB / 0.561 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.3339, allocations: 20.12 kB / 0.5611 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.3339, allocations: 12.91 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3339, allocations: 2 kB / 0.5611 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.3343, allocations: 174.5 kB / 0.5612 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.3343, allocations: 10.03 kB / 0.5613 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.3343, allocations: 6.984 kB / 0.5613 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.3346, allocations: 133.4 kB / 0.5614 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3346, allocations: 1.375 kB / 0.5614 GB, free: 34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3346, allocations: 5.984 kB / 0.5614 GB, free: 34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3346, allocations: 0 / 0.5614 GB, free: 34 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.0003106/0.3349, allocations: 345.8 kB / 0.5617 GB, free: 33.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.335, allocations: 9.969 kB / 0.5617 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.335, allocations: 4.688 kB / 0.5617 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.829e-05/0.3351, allocations: 166.9 kB / 0.5619 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.3352, allocations: 27.73 kB / 0.5619 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.3352, allocations: 6.531 kB / 0.5619 GB, free: 33.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3353, allocations: 48.61 kB / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3353, allocations: 1.781 kB / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3353, allocations: 0 / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3354, allocations: 1.953 kB / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.3354, allocations: 17.69 kB / 0.562 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3359, allocations: 0.5829 MB / 0.5626 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.001e-05/0.3359, allocations: 16.11 kB / 0.5626 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.3359, allocations: 7.375 kB / 0.5626 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.3361, allocations: 347 kB / 0.5629 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3361, allocations: 32.19 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.3361, allocations: 2.25 kB / 0.563 GB, free: 32.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001286/0.3363, allocations: 42.89 kB / 0.563 GB, free: 32.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.3363, allocations: 52.78 kB / 0.563 GB, free: 32.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.3363, allocations: 107.5 kB / 0.5632 GB, free: 32.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.3364, allocations: 25.7 kB / 0.5632 GB, free: 32.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.3364, allocations: 86.95 kB / 0.5633 GB, free: 31.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-06/0.3364, allocations: 1.812 kB / 0.5633 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3364, allocations: 23.73 kB / 0.5633 GB, free: 31.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.3365, allocations: 316.5 kB / 0.5636 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.3365, allocations: 4.672 kB / 0.5636 GB, free: 31.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.3365, allocations: 20.34 kB / 0.5636 GB, free: 31.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.3366, allocations: 22.06 kB / 0.5636 GB, free: 31.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3366, allocations: 1.312 kB / 0.5636 GB, free: 31.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.036e-05/0.3366, allocations: 46.06 kB / 0.5637 GB, free: 31.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3367, allocations: 5.375 kB / 0.5637 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3367, allocations: 3.031 kB / 0.5637 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3367, allocations: 0 / 0.5637 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.3367, allocations: 10.38 kB / 0.5637 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3367, allocations: 1.859 kB / 0.5637 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.3368, allocations: 5.078 kB / 0.5637 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3368, allocations: 5.031 kB / 0.5637 GB, free: 31.5 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 4.449e-05/0.3368, allocations: 113.2 kB / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.3369, allocations: 2.453 kB / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.3369, allocations: 116.2 kB / 0.5639 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.337, allocations: 186.9 kB / 0.5641 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.337, allocations: 177.3 kB / 0.5643 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.337, allocations: 187.3 kB / 0.5645 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3372, allocations: 413.3 kB / 0.5648 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.3372, allocations: 103.2 kB / 0.5649 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.3372, allocations: 108.5 kB / 0.565 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/0.3372, allocations: 176.8 kB / 0.5652 GB, free: 29.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3372, allocations: 184.1 kB / 0.5654 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.3373, allocations: 182.2 kB / 0.5656 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.288e-05/0.3373, allocations: 182.7 kB / 0.5657 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.257e-05/0.3374, allocations: 314.3 kB / 0.566 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.3374, allocations: 186 kB / 0.5662 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.3374, allocations: 184.2 kB / 0.5664 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3376, allocations: 106 kB / 0.5665 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.3376, allocations: 182.3 kB / 0.5667 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3376, allocations: 103.1 kB / 0.5668 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.3377, allocations: 88.75 kB / 0.5669 GB, free: 28.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3377, allocations: 0 / 0.5669 GB, free: 28.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3379, allocations: 33.72 kB / 0.5669 GB, free: 28.12 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.0002065/0.3382, allocations: 244.5 kB / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.786e-05/0.3382, allocations: 11.53 kB / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3382, allocations: 0 / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.3383, allocations: 2.188 kB / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.3386, allocations: 461.7 kB / 0.5676 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.3388, allocations: 186.2 kB / 0.5677 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.3389, allocations: 0.6734 MB / 0.5684 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.906e-05/0.3389, allocations: 10.55 kB / 0.5684 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.287e-05/0.3389, allocations: 8.906 kB / 0.5684 GB, free: 26.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3389, allocations: 0 / 0.5684 GB, free: 26.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003476/0.3424, allocations: 1.209 MB / 0.5696 GB, free: 26.48 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)