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.0009842/0.0009847, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001242/0.001243, allocations: 172.7 kB / 15.95 MB, free: 208 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.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.867 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4799/0.4799, allocations: 55 MB / 325.4 MB, free: 0.7461 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.0006131/0.0006131, allocations: 16 kB / 396.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4226, allocations: 60.72 MB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003814/0.4265, allocations: 3.554 MB / 460.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.4267, allocations: 150.9 kB / 461 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.4268, allocations: 0 / 461 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.4269, allocations: 0 / 461 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.427, allocations: 15.44 kB / 461.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.4272, allocations: 47.56 kB / 461.1 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.4273, allocations: 41.66 kB / 461.1 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.4274, allocations: 0 / 461.1 MB, free: 38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.4274, allocations: 21.3 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.4275, allocations: 10.2 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4275, allocations: 1.703 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.4277, allocations: 28.28 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.4277, allocations: 8.016 kB / 461.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.4278, allocations: 36.95 kB / 461.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.571e-05/0.4279, allocations: 25.19 kB / 461.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4279, allocations: 0 / 461.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4279, allocations: 3.031 kB / 461.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.4279, allocations: 0 / 461.3 MB, free: 37.96 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.000301/0.4282, allocations: 333.5 kB / 461.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.4282, allocations: 8.562 kB / 461.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.4283, allocations: 7.359 kB / 461.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.833e-05/0.4283, allocations: 163 kB / 461.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.4284, allocations: 28.03 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.4284, allocations: 3.938 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4285, allocations: 44.94 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4285, allocations: 0.7812 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4286, allocations: 4.078 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.4286, allocations: 2.938 kB / 461.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.4286, allocations: 16.55 kB / 461.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.429, allocations: 334.6 kB / 462.2 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.429, allocations: 17.36 kB / 462.2 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.4291, allocations: 11.73 kB / 462.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.4291, allocations: 83.67 kB / 462.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4292, allocations: 34.66 kB / 462.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4292, allocations: 1.031 kB / 462.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.4293, allocations: 39.08 kB / 462.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.4293, allocations: 51.91 kB / 462.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.4294, allocations: 105 kB / 462.5 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.4294, allocations: 25.7 kB / 462.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.4295, allocations: 84.05 kB / 462.6 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.4295, allocations: 10.78 kB / 462.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/0.4295, allocations: 0.5 kB / 462.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.4295, allocations: 311.4 kB / 463 MB, free: 36.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.4295, allocations: 9.5 kB / 463 MB, free: 36.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.4296, allocations: 18.19 kB / 463 MB, free: 36.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.4296, allocations: 2.656 kB / 463 MB, free: 36.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4296, allocations: 7.891 kB / 463 MB, free: 36.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.059e-05/0.4297, allocations: 47.19 kB / 463 MB, free: 36.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4297, allocations: 5 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4297, allocations: 1.562 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4297, allocations: 3.156 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.4298, allocations: 7.547 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4298, allocations: 0 / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.4298, allocations: 13.56 kB / 463.1 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.4298, allocations: 1 kB / 463.1 MB, free: 36.13 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.093e-05/0.4299, allocations: 114.6 kB / 463.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.4299, allocations: 7.891 kB / 463.2 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.43, allocations: 119.2 kB / 463.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.43, allocations: 185.2 kB / 463.5 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.4301, allocations: 179.9 kB / 463.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.4301, allocations: 178.9 kB / 463.8 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.4302, allocations: 406.2 kB / 464.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4303, allocations: 104.2 kB / 464.3 MB, free: 34.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.4303, allocations: 117.5 kB / 464.5 MB, free: 34.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/0.4303, allocations: 181.3 kB / 464.6 MB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.4303, allocations: 179.3 kB / 464.8 MB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-05/0.4304, allocations: 183.7 kB / 465 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.626e-05/0.4304, allocations: 180.5 kB / 465.2 MB, free: 33.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.692e-05/0.4305, allocations: 310.2 kB / 465.5 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.4305, allocations: 188.9 kB / 465.7 MB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.4306, allocations: 186.9 kB / 465.8 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4307, allocations: 105.2 kB / 465.9 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.4307, allocations: 182.6 kB / 466.1 MB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.4308, allocations: 101 kB / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.773e-05/0.4308, allocations: 90.55 kB / 466.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4308, allocations: 0 / 466.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.4311, allocations: 11.47 kB / 466.3 MB, free: 32.78 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.0001354/0.4312, allocations: 187.2 kB / 466.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.555e-05/0.4313, allocations: 14.56 kB / 466.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4313, allocations: 0 / 466.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.4313, allocations: 0 / 466.5 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4316, allocations: 0.5275 MB / 467 MB, free: 32.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002125/0.4319, allocations: 186.5 kB / 467.2 MB, free: 31.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.885e-05/0.432, allocations: 0.6762 MB / 467.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.802e-05/0.432, allocations: 10.59 kB / 467.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.432, allocations: 7.438 kB / 467.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.432, allocations: 2.656 kB / 467.9 MB, free: 31.21 MB / 382.1 MB Notification: Performance of Templates: time 0.002265/0.4343, allocations: 0.4992 MB / 468.4 MB, free: 31.15 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: