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.007448/0.007448, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001194/0.001195, allocations: 194.9 kB / 16.67 MB, free: 5.965 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4112/0.4112, allocations: 54.94 MB / 324.8 MB, free: 24 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.001519/0.001519, allocations: 70.11 kB / 456.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 59.59 MB / 0.5037 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004724/0.1381, allocations: 4.016 MB / 0.5077 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.1383, allocations: 152.4 kB / 0.5078 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.1384, allocations: 0 / 0.5078 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1385, allocations: 9.312 kB / 0.5078 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.1386, allocations: 14.66 kB / 0.5078 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.1389, allocations: 69.84 kB / 0.5079 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.139, allocations: 31.03 kB / 0.5079 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.1391, allocations: 1.375 kB / 0.5079 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.1392, allocations: 16.17 kB / 0.508 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.1392, allocations: 9.484 kB / 0.508 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1393, allocations: 1.375 kB / 0.508 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1395, allocations: 57.75 kB / 0.508 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.1395, allocations: 17.27 kB / 0.508 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.1396, allocations: 12.02 kB / 0.508 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1397, allocations: 33.84 kB / 0.5081 GB, free: 6.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1398, allocations: 0.875 kB / 0.5081 GB, free: 6.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1398, allocations: 0 / 0.5081 GB, free: 6.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1398, allocations: 1.094 kB / 0.5081 GB, free: 6.098 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.0004027/0.1402, allocations: 335.8 kB / 0.5084 GB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1402, allocations: 9.688 kB / 0.5084 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1403, allocations: 0.9375 kB / 0.5084 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.332e-05/0.1403, allocations: 169.6 kB / 0.5086 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.1404, allocations: 35.75 kB / 0.5086 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1404, allocations: 5.625 kB / 0.5086 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1406, allocations: 51.41 kB / 0.5087 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1406, allocations: 0 / 0.5087 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1406, allocations: 0 / 0.5087 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1406, allocations: 1.531 kB / 0.5087 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.1407, allocations: 17.36 kB / 0.5087 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1411, allocations: 341.1 kB / 0.509 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.1411, allocations: 20.33 kB / 0.509 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.1411, allocations: 6.141 kB / 0.509 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.336e-05/0.1412, allocations: 82.14 kB / 0.5091 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1412, allocations: 31.75 kB / 0.5091 GB, free: 4.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.874e-06/0.1412, allocations: 4 kB / 0.5091 GB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.1414, allocations: 40.09 kB / 0.5092 GB, free: 4.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1414, allocations: 51.41 kB / 0.5092 GB, free: 4.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.1415, allocations: 98.89 kB / 0.5093 GB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1415, allocations: 25.7 kB / 0.5093 GB, free: 4.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.1416, allocations: 93.28 kB / 0.5094 GB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.1416, allocations: 1.188 kB / 0.5094 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1416, allocations: 13.59 kB / 0.5095 GB, free: 4.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.1417, allocations: 324.2 kB / 0.5098 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.1417, allocations: 6.328 kB / 0.5098 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.1417, allocations: 13.97 kB / 0.5098 GB, free: 4.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.1418, allocations: 20.03 kB / 0.5098 GB, free: 4.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1418, allocations: 0 / 0.5098 GB, free: 4.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.142e-05/0.1419, allocations: 54.44 kB / 0.5098 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1419, allocations: 9.344 kB / 0.5099 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1419, allocations: 0 / 0.5099 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1419, allocations: 1.25 kB / 0.5099 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.142, allocations: 4.844 kB / 0.5099 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.142, allocations: 5.375 kB / 0.5099 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.142, allocations: 9.516 kB / 0.5099 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.142, allocations: 1.562 kB / 0.5099 GB, free: 4.105 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.663e-05/0.1421, allocations: 111.2 kB / 0.51 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.1421, allocations: 5.562 kB / 0.51 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.1422, allocations: 119.6 kB / 0.5101 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.1422, allocations: 185.4 kB / 0.5103 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/0.1423, allocations: 181.4 kB / 0.5105 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/0.1423, allocations: 176.3 kB / 0.5106 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1424, allocations: 415.9 kB / 0.511 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.1425, allocations: 106.5 kB / 0.5111 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.1425, allocations: 102.2 kB / 0.5112 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.768e-05/0.1425, allocations: 184.2 kB / 0.5114 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1426, allocations: 181.5 kB / 0.5116 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.834e-05/0.1426, allocations: 186.1 kB / 0.5117 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-05/0.1426, allocations: 180.3 kB / 0.5119 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.1427, allocations: 304.5 kB / 0.5122 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.1427, allocations: 187.6 kB / 0.5124 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1428, allocations: 181.6 kB / 0.5126 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1429, allocations: 106.6 kB / 0.5127 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1429, allocations: 185.6 kB / 0.5128 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.143, allocations: 102.1 kB / 0.5129 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.143, allocations: 87.27 kB / 0.513 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 0.513 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1432, allocations: 11.69 kB / 0.513 GB, free: 0.7031 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.0002592/0.1435, allocations: 203.3 kB / 0.5132 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.1436, allocations: 9.688 kB / 0.5132 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1436, allocations: 0 / 0.5132 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.1436, allocations: 1.125 kB / 0.5132 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.144, allocations: 467.4 kB / 0.5137 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1443, allocations: 179.3 kB / 0.5139 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1446, allocations: 0.6718 MB / 0.5145 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.1447, allocations: 3.688 kB / 0.5145 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.1447, allocations: 17.25 kB / 0.5145 GB, free: 15.17 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1447, allocations: 0 / 0.5145 GB, free: 15.17 MB / 398.1 MB Notification: Performance of Templates: time 0.002901/0.1476, allocations: 0.6054 MB / 0.5151 GB, free: 14.74 MB / 398.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)