Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009361, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008475/0.0008475, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3829/0.3829, allocations: 54.97 MB / 325.4 MB, free: 0.6055 MB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000566/0.0005663, allocations: 15.98 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 60.72 MB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003998/0.3467, allocations: 3.373 MB / 460.7 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.3469, allocations: 126.2 kB / 460.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.3469, allocations: 0 / 460.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.347, allocations: 9.219 kB / 460.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.456e-05/0.3471, allocations: 8.469 kB / 460.8 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3474, allocations: 47.88 kB / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.3475, allocations: 18.98 kB / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3475, allocations: 4.078 kB / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.3476, allocations: 8.75 kB / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.3476, allocations: 13.81 kB / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3476, allocations: 4.312 kB / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.3478, allocations: 35.06 kB / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.3479, allocations: 4.469 kB / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.3479, allocations: 34.92 kB / 461 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.348, allocations: 24.81 kB / 461 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.348, allocations: 0 / 461 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.348, allocations: 0.6562 kB / 461 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.348, allocations: 3.094 kB / 461 MB, free: 38.2 MB / 382.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.0003112/0.3483, allocations: 325.5 kB / 461.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3484, allocations: 11.48 kB / 461.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.3484, allocations: 6.25 kB / 461.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.3485, allocations: 161 kB / 461.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.3486, allocations: 32.73 kB / 461.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3486, allocations: 0 / 461.5 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3487, allocations: 42.98 kB / 461.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3488, allocations: 1.719 kB / 461.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3488, allocations: 0.7812 kB / 461.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.3488, allocations: 4.469 kB / 461.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.3488, allocations: 21.98 kB / 461.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3492, allocations: 332 kB / 461.9 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.867e-05/0.3493, allocations: 22.08 kB / 462 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/0.3494, allocations: 84.75 kB / 462 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3494, allocations: 34.83 kB / 462.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.3494, allocations: 0.6875 kB / 462.1 MB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.3495, allocations: 37.2 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.3496, allocations: 52.62 kB / 462.2 MB, free: 36.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.3496, allocations: 104 kB / 462.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3497, allocations: 29.64 kB / 462.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.3497, allocations: 84.05 kB / 462.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.3497, allocations: 10.84 kB / 462.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.3497, allocations: 1.406 kB / 462.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.3498, allocations: 310.8 kB / 462.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.3498, allocations: 6.406 kB / 462.7 MB, free: 36.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.3498, allocations: 20.31 kB / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.697e-05/0.3498, allocations: 7.469 kB / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3499, allocations: 0 / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.955e-05/0.3499, allocations: 51.69 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3499, allocations: 5.875 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3499, allocations: 1.469 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.35, allocations: 6.062 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.35, allocations: 3.562 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.35, allocations: 2.656 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.3501, allocations: 4.844 kB / 462.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3501, allocations: 4.156 kB / 462.8 MB, free: 36.38 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.3501, allocations: 114.3 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3502, allocations: 6.203 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.05e-05/0.3503, allocations: 120.8 kB / 463 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/0.3503, allocations: 181.1 kB / 463.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.688e-05/0.3504, allocations: 182.3 kB / 463.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.3504, allocations: 180.1 kB / 463.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3505, allocations: 405.5 kB / 464 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.3506, allocations: 102.3 kB / 464.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.3506, allocations: 116.2 kB / 464.2 MB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.3506, allocations: 180.2 kB / 464.3 MB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.3507, allocations: 187.7 kB / 464.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.446e-05/0.3507, allocations: 184.6 kB / 464.7 MB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-05/0.3507, allocations: 176.3 kB / 464.9 MB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.509e-05/0.3508, allocations: 313.8 kB / 465.2 MB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.3508, allocations: 181.9 kB / 465.4 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.3509, allocations: 184.2 kB / 465.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.351, allocations: 111.2 kB / 465.7 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.351, allocations: 180.2 kB / 465.8 MB, free: 33.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.351, allocations: 105 kB / 465.9 MB, free: 33.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.539e-05/0.3511, allocations: 88.72 kB / 466 MB, free: 33.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3511, allocations: 1.312 kB / 466 MB, free: 33.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.3513, allocations: 17.09 kB / 466 MB, free: 33.02 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001424/0.3515, allocations: 184 kB / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.3516, allocations: 12.89 kB / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3516, allocations: 0 / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3516, allocations: 4.125 kB / 466.2 MB, free: 32.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3518, allocations: 0.5226 MB / 466.8 MB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.3521, allocations: 185.3 kB / 466.9 MB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3522, allocations: 0.6794 MB / 467.6 MB, free: 31.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.3522, allocations: 7.609 kB / 467.6 MB, free: 31.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.3523, allocations: 10.41 kB / 467.6 MB, free: 31.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3523, allocations: 3.938 kB / 467.6 MB, free: 31.45 MB / 382.1 MB Notification: Performance of Templates: time 0.002728/0.355, allocations: 0.4982 MB / 468.1 MB, free: 31.41 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: