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.001326/0.001326, allocations: 105.9 kB / 16.4 MB, free: 6.488 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.001413/0.001413, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 65.02 kB / 0.5577 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 76.17 MB / 0.632 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004676/0.1354, allocations: 4.015 MB / 0.636 GB, free: 412 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.1356, allocations: 159.5 kB / 0.6361 GB, free: 252 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1356, allocations: 4 kB / 0.6361 GB, free: 248 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.1357, allocations: 3.938 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.1358, allocations: 19.92 kB / 0.6361 GB, free: 224 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1361, allocations: 71.75 kB / 0.6362 GB, free: 152 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.1362, allocations: 35.84 kB / 0.6362 GB, free: 116 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.1362, allocations: 0 / 0.6362 GB, free: 116 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.1363, allocations: 23.91 kB / 0.6363 GB, free: 92 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.1363, allocations: 8 kB / 0.6363 GB, free: 84 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1363, allocations: 4 kB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1365, allocations: 63.8 kB / 0.6363 GB, free: 16 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.1366, allocations: 4 kB / 0.6363 GB, free: 12 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.1366, allocations: 15.97 kB / 0.6364 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1367, allocations: 39.84 kB / 0.6364 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1367, allocations: 4 kB / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.1367, allocations: 0 / 0.6364 GB, free: 15.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1368, allocations: 7.875 kB / 0.6364 GB, free: 15.95 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.0003369/0.1371, allocations: 335.5 kB / 0.6367 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1371, allocations: 8.031 kB / 0.6367 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1372, allocations: 4.938 kB / 0.6367 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1373, allocations: 160.4 kB / 0.6369 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.1374, allocations: 26.27 kB / 0.6369 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.1374, allocations: 4.359 kB / 0.6369 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1375, allocations: 53.56 kB / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1375, allocations: 0 / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1375, allocations: 0 / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1375, allocations: 4 kB / 0.637 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.1376, allocations: 19.92 kB / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.138, allocations: 330 kB / 0.6373 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.138, allocations: 18.58 kB / 0.6373 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.138, allocations: 4.859 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.1381, allocations: 85.17 kB / 0.6374 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.1381, allocations: 38.56 kB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1382, allocations: 0 / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.1383, allocations: 37.62 kB / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1383, allocations: 51.41 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.1384, allocations: 109.8 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1384, allocations: 25.7 kB / 0.6377 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1385, allocations: 84.05 kB / 0.6378 GB, free: 14.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1385, allocations: 12.03 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1385, allocations: 17.72 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/0.1386, allocations: 314.8 kB / 0.6381 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.1386, allocations: 3.984 kB / 0.6381 GB, free: 13.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.1387, allocations: 17.72 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.1387, allocations: 25.66 kB / 0.6381 GB, free: 13.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1387, allocations: 0 / 0.6381 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.678e-05/0.1388, allocations: 45.69 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1388, allocations: 8 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1388, allocations: 0 / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1388, allocations: 4 kB / 0.6382 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.1389, allocations: 15.86 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1389, allocations: 0 / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.1389, allocations: 4 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1389, allocations: 0 / 0.6382 GB, free: 13.84 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 6.219e-05/0.139, allocations: 121.8 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.139, allocations: 0 / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1391, allocations: 120.9 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/0.1392, allocations: 184.2 kB / 0.6386 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-05/0.1393, allocations: 176.5 kB / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.065e-05/0.1393, allocations: 192.2 kB / 0.639 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1395, allocations: 409.1 kB / 0.6393 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.1396, allocations: 105 kB / 0.6394 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1396, allocations: 108.9 kB / 0.6396 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-05/0.1397, allocations: 180.2 kB / 0.6397 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.1397, allocations: 180.2 kB / 0.6399 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-05/0.1398, allocations: 184.3 kB / 0.6401 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.613e-05/0.1398, allocations: 176.3 kB / 0.6402 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.14, allocations: 311.7 kB / 0.6405 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.14, allocations: 182 kB / 0.6407 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.1401, allocations: 184.3 kB / 0.6409 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1402, allocations: 109 kB / 0.641 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.1403, allocations: 184.2 kB / 0.6412 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1404, allocations: 101 kB / 0.6413 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.1404, allocations: 83.27 kB / 0.6413 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1404, allocations: 0 / 0.6413 GB, free: 10.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1407, allocations: 23.94 kB / 0.6414 GB, free: 10.38 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.0002083/0.1409, allocations: 198.4 kB / 0.6416 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.465e-05/0.1409, allocations: 15.92 kB / 0.6416 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1409, allocations: 0 / 0.6416 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.141, allocations: 0 / 0.6416 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1413, allocations: 463.8 kB / 0.642 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.1415, allocations: 177.8 kB / 0.6422 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1418, allocations: 0.6768 MB / 0.6428 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1418, allocations: 7.938 kB / 0.6428 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.1418, allocations: 15.44 kB / 0.6429 GB, free: 8.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1418, allocations: 0 / 0.6429 GB, free: 8.773 MB / 494.1 MB Notification: Performance of Templates: time 0.00237/0.1442, allocations: 0.6436 MB / 0.6435 GB, free: 8.137 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)