Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 115.5 kB / 17.08 MB, free: 5.957 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.001589/0.001589, allocations: 200.1 kB / 18.02 MB, free: 5.047 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7177/0.7177, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.27 kB / 0.5583 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005496/0.1479, allocations: 4.009 MB / 0.6366 GB, free: 372 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.1482, allocations: 155.5 kB / 0.6368 GB, free: 216 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.1482, allocations: 0 / 0.6368 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.492e-05/0.1483, allocations: 3.938 kB / 0.6368 GB, free: 212 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.1484, allocations: 15.92 kB / 0.6368 GB, free: 196 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1488, allocations: 78.25 kB / 0.6369 GB, free: 120 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1489, allocations: 35.84 kB / 0.6369 GB, free: 84 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.149, allocations: 4 kB / 0.6369 GB, free: 80 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.149, allocations: 19.92 kB / 0.6369 GB, free: 60 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.1491, allocations: 7.984 kB / 0.6369 GB, free: 52 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1491, allocations: 0 / 0.6369 GB, free: 52 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.1494, allocations: 67.8 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.1494, allocations: 4 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1494, allocations: 19.92 kB / 0.637 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1496, allocations: 35.89 kB / 0.6371 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1496, allocations: 0 / 0.6371 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1496, allocations: 0 / 0.6371 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1496, allocations: 7.938 kB / 0.6371 GB, free: 15.92 MB / 494.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.000387/0.15, allocations: 331.5 kB / 0.6374 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1501, allocations: 8.031 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1501, allocations: 8.812 kB / 0.6374 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1502, allocations: 164.4 kB / 0.6376 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.1503, allocations: 34.27 kB / 0.6376 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1503, allocations: 4.359 kB / 0.6376 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1504, allocations: 49.61 kB / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1505, allocations: 0 / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1505, allocations: 0 / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1505, allocations: 0 / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.1506, allocations: 15.98 kB / 0.6377 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.151, allocations: 342 kB / 0.638 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.1511, allocations: 18.58 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.1511, allocations: 4.859 kB / 0.638 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.1512, allocations: 81.17 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1512, allocations: 34.56 kB / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1512, allocations: 0 / 0.6381 GB, free: 14.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001472/0.1514, allocations: 45.62 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1514, allocations: 51.41 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.1515, allocations: 105.8 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1515, allocations: 25.7 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.1516, allocations: 88.03 kB / 0.6384 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.1516, allocations: 11.89 kB / 0.6384 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1516, allocations: 13.72 kB / 0.6384 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1517, allocations: 318.8 kB / 0.6387 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.1518, allocations: 8.109 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.1518, allocations: 13.72 kB / 0.6388 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.1518, allocations: 25.66 kB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1518, allocations: 0 / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.631e-05/0.1519, allocations: 45.69 kB / 0.6388 GB, free: 13.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1519, allocations: 10.03 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1519, allocations: 4.062 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.152, allocations: 0 / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.152, allocations: 15.86 kB / 0.6389 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.152, allocations: 3.984 kB / 0.6389 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.1521, allocations: 8 kB / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1521, allocations: 0 / 0.6389 GB, free: 13.79 MB / 494.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 7.437e-05/0.1521, allocations: 117.8 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1522, allocations: 0 / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1523, allocations: 128.8 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.837e-05/0.1524, allocations: 180.2 kB / 0.6393 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-05/0.1524, allocations: 176.3 kB / 0.6394 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.936e-05/0.1525, allocations: 192.2 kB / 0.6396 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.1527, allocations: 401.2 kB / 0.64 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/0.1527, allocations: 105 kB / 0.6401 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1528, allocations: 108.9 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.879e-05/0.1528, allocations: 184.2 kB / 0.6404 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.1529, allocations: 180.2 kB / 0.6406 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-05/0.153, allocations: 176.3 kB / 0.6407 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.877e-05/0.153, allocations: 180.3 kB / 0.6409 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1532, allocations: 315.7 kB / 0.6412 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.1532, allocations: 182.3 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/0.1533, allocations: 180.3 kB / 0.6415 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1535, allocations: 105 kB / 0.6416 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.1535, allocations: 188.2 kB / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.1536, allocations: 109 kB / 0.6419 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.1536, allocations: 79.28 kB / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1539, allocations: 23.92 kB / 0.642 GB, free: 10.34 MB / 494.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.0002509/0.1541, allocations: 194.5 kB / 0.6422 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.1542, allocations: 19.92 kB / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1543, allocations: 0 / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1543, allocations: 0 / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1546, allocations: 455.7 kB / 0.6427 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.1549, allocations: 215.7 kB / 0.6429 GB, free: 9.422 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1552, allocations: 0.6729 MB / 0.6435 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.1552, allocations: 15.38 kB / 0.6435 GB, free: 8.707 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1552, allocations: 0 / 0.6435 GB, free: 8.707 MB / 494.1 MB Notification: Performance of Templates: time 0.002205/0.1574, allocations: 0.7502 MB / 0.6443 GB, free: 7.961 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)