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.00107/0.00107, allocations: 107.2 kB / 17.04 MB, free: 5.812 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.000996/0.0009961, allocations: 196 kB / 17.98 MB, free: 5.027 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 115.1 MB / 406.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 75.7 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3287, allocations: 76.13 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004591/0.3334, allocations: 3.276 MB / 0.5608 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.3335, allocations: 49.59 kB / 0.5608 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.3336, allocations: 2.719 kB / 0.5608 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.3337, allocations: 4.547 kB / 0.5608 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.3338, allocations: 13.77 kB / 0.5608 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.3344, allocations: 181.2 kB / 0.561 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.3345, allocations: 42.39 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.3345, allocations: 3.625 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.3346, allocations: 15.45 kB / 0.5611 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.3346, allocations: 11.77 kB / 0.5611 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3346, allocations: 1.688 kB / 0.5611 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.335, allocations: 175 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.335, allocations: 9.078 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.3351, allocations: 8.375 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3354, allocations: 139.1 kB / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3354, allocations: 0 / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3354, allocations: 0 / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.3354, allocations: 0.8125 kB / 0.5614 GB, free: 34.16 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.0003394/0.3357, allocations: 348.6 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3358, allocations: 10.03 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3359, allocations: 2.641 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.3359, allocations: 166.8 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.336, allocations: 27.77 kB / 0.5619 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.336, allocations: 5.609 kB / 0.5619 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3361, allocations: 51.23 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3362, allocations: 0.5625 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3362, allocations: 2 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3362, allocations: 2.203 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.3362, allocations: 12.48 kB / 0.562 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.3368, allocations: 0.5818 MB / 0.5626 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.069e-05/0.3368, allocations: 25.86 kB / 0.5626 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.3368, allocations: 11.41 kB / 0.5626 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.337, allocations: 343.5 kB / 0.5629 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.337, allocations: 32.5 kB / 0.563 GB, free: 32.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.337, allocations: 2.469 kB / 0.563 GB, free: 32.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.3372, allocations: 32.62 kB / 0.563 GB, free: 32.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.3372, allocations: 53.78 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.3372, allocations: 106.8 kB / 0.5631 GB, free: 32.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.3373, allocations: 26.77 kB / 0.5632 GB, free: 32.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.3373, allocations: 86.69 kB / 0.5633 GB, free: 32.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.3373, allocations: 5.922 kB / 0.5633 GB, free: 32.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.3373, allocations: 22.22 kB / 0.5633 GB, free: 32.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.3374, allocations: 318.2 kB / 0.5636 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.3374, allocations: 7.781 kB / 0.5636 GB, free: 31.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.3374, allocations: 15.98 kB / 0.5636 GB, free: 31.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.3375, allocations: 22.03 kB / 0.5636 GB, free: 31.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3375, allocations: 4.875 kB / 0.5636 GB, free: 31.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.97e-05/0.3375, allocations: 50.94 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3376, allocations: 6.969 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3376, allocations: 1.781 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3376, allocations: 1.125 kB / 0.5637 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.3376, allocations: 11.48 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3376, allocations: 1.406 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.3377, allocations: 2.078 kB / 0.5637 GB, free: 31.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3377, allocations: 1.125 kB / 0.5637 GB, free: 31.66 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.67e-05/0.3377, allocations: 115 kB / 0.5638 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3378, allocations: 1.156 kB / 0.5638 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.3378, allocations: 125.4 kB / 0.5639 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3379, allocations: 178.2 kB / 0.5641 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.3379, allocations: 181 kB / 0.5643 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.3379, allocations: 178.3 kB / 0.5645 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3381, allocations: 417.6 kB / 0.5649 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.3381, allocations: 103.5 kB / 0.5649 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.3381, allocations: 102.9 kB / 0.565 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.3381, allocations: 186.3 kB / 0.5652 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3382, allocations: 178.8 kB / 0.5654 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.128e-05/0.3382, allocations: 183.9 kB / 0.5656 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.11e-05/0.3382, allocations: 181.2 kB / 0.5657 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.778e-05/0.3383, allocations: 315.9 kB / 0.566 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.3383, allocations: 183 kB / 0.5662 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3384, allocations: 186.1 kB / 0.5664 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3385, allocations: 105.7 kB / 0.5665 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.3385, allocations: 182.8 kB / 0.5667 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3385, allocations: 107.6 kB / 0.5668 GB, free: 28.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.3386, allocations: 86.94 kB / 0.5669 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3386, allocations: 0.5938 kB / 0.5669 GB, free: 28.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3389, allocations: 33 kB / 0.5669 GB, free: 28.29 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.0002159/0.3391, allocations: 239.7 kB / 0.5671 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.3392, allocations: 8.766 kB / 0.5671 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3392, allocations: 1.438 kB / 0.5671 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.3392, allocations: 5.25 kB / 0.5671 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3395, allocations: 465.4 kB / 0.5676 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.3397, allocations: 182.5 kB / 0.5678 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3398, allocations: 0.678 MB / 0.5684 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.816e-05/0.3398, allocations: 5.688 kB / 0.5684 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.3399, allocations: 11.25 kB / 0.5684 GB, free: 26.76 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3399, allocations: 0.5 kB / 0.5684 GB, free: 26.76 MB / 446.1 MB Notification: Performance of Templates: time 0.00363/0.3435, allocations: 1.207 MB / 0.5696 GB, free: 26.63 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)