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.00112/0.00112, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001072/0.001072, allocations: 192.1 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4351/0.4351, allocations: 54.93 MB / 324.3 MB, free: 76 kB / 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.001574/0.001574, allocations: 67.89 kB / 394.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 59.59 MB / 454.3 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.2823/0.4289, allocations: 4.039 MB / 458.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002017/0.4292, allocations: 151.4 kB / 458.4 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.4292, allocations: 2.625 kB / 458.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.4294, allocations: 6.812 kB / 458.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.4295, allocations: 18.61 kB / 458.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.4298, allocations: 57.05 kB / 458.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.223e-05/0.4299, allocations: 56.84 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.4299, allocations: 9.859 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.43, allocations: 6.969 kB / 458.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.43, allocations: 23.42 kB / 458.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.43, allocations: 0 / 458.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.4303, allocations: 71.98 kB / 458.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.4303, allocations: 10.86 kB / 458.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.4303, allocations: 9.031 kB / 458.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.4305, allocations: 43.94 kB / 458.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4305, allocations: 1.031 kB / 458.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4305, allocations: 0 / 458.8 MB, free: 37.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.4305, allocations: 0 / 458.8 MB, free: 37.74 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.0003224/0.4308, allocations: 345.8 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4309, allocations: 8.188 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.4309, allocations: 3.75 kB / 459.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.431, allocations: 163.8 kB / 459.3 MB, free: 37.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.431, allocations: 29.14 kB / 459.3 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.4311, allocations: 384 / 459.3 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4312, allocations: 46.77 kB / 459.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4312, allocations: 0 / 459.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4312, allocations: 7.219 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.4313, allocations: 3.688 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.4313, allocations: 18.81 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.4317, allocations: 333.2 kB / 459.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.4318, allocations: 25.39 kB / 459.7 MB, free: 36.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.4318, allocations: 4.859 kB / 459.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.4319, allocations: 86.2 kB / 459.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4319, allocations: 32.28 kB / 459.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4319, allocations: 0 / 459.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.4321, allocations: 34.55 kB / 459.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.4321, allocations: 51.41 kB / 459.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.4322, allocations: 104.4 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4322, allocations: 25.7 kB / 460.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.4322, allocations: 88.8 kB / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/0.4323, allocations: 5.469 kB / 460.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4323, allocations: 16 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.4323, allocations: 317.7 kB / 460.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.4324, allocations: 4.438 kB / 460.5 MB, free: 35.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/0.4324, allocations: 24.11 kB / 460.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.4324, allocations: 24.25 kB / 460.5 MB, free: 35.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4324, allocations: 2.156 kB / 460.5 MB, free: 35.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.249e-05/0.4325, allocations: 44.66 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4325, allocations: 5.438 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4325, allocations: 2.781 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4326, allocations: 1.609 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.4326, allocations: 8.469 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4326, allocations: 2.656 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.4326, allocations: 1.188 kB / 460.6 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4327, allocations: 2.656 kB / 460.6 MB, free: 35.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.4327, allocations: 120.5 kB / 460.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.4327, allocations: 0.8438 kB / 460.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.4328, allocations: 123 kB / 460.8 MB, free: 35.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/0.4329, allocations: 186.3 kB / 461 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/0.4329, allocations: 178.4 kB / 461.2 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-05/0.433, allocations: 185.5 kB / 461.4 MB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4331, allocations: 408.2 kB / 461.8 MB, free: 34.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.4332, allocations: 106.8 kB / 461.9 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.4332, allocations: 104.8 kB / 462 MB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.791e-05/0.4332, allocations: 176.3 kB / 462.1 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.4332, allocations: 186.6 kB / 462.3 MB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-05/0.4333, allocations: 184 kB / 462.5 MB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.132e-05/0.4333, allocations: 181 kB / 462.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.766e-05/0.4334, allocations: 307.6 kB / 463 MB, free: 33.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4334, allocations: 185.1 kB / 463.2 MB, free: 33.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4335, allocations: 182.5 kB / 463.3 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4336, allocations: 109.7 kB / 463.5 MB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.4337, allocations: 181.2 kB / 463.6 MB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.4337, allocations: 105 kB / 463.7 MB, free: 32.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.4337, allocations: 85.61 kB / 463.8 MB, free: 32.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4337, allocations: 0 / 463.8 MB, free: 32.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.434, allocations: 15.58 kB / 463.8 MB, free: 32.58 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 (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.0002482/0.4342, allocations: 199.2 kB / 464 MB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.04e-05/0.4343, allocations: 13.56 kB / 464 MB, free: 32.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4343, allocations: 0 / 464 MB, free: 32.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4343, allocations: 0 / 464 MB, free: 32.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4347, allocations: 0.5307 MB / 464.6 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.435, allocations: 178.9 kB / 464.7 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4351, allocations: 0.6754 MB / 465.4 MB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.267e-05/0.4352, allocations: 8.531 kB / 465.4 MB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.4352, allocations: 14.38 kB / 465.4 MB, free: 31 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4352, allocations: 0 / 465.4 MB, free: 31 MB / 382.1 MB Notification: Performance of Templates: time 0.002722/0.4379, allocations: 0.5631 MB / 466 MB, free: 30.95 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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)