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.001086/0.001086, allocations: 112 kB / 17.09 MB, free: 5.961 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.0009923/0.0009923, allocations: 198.8 kB / 18.03 MB, free: 5.043 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.205/1.205, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6581/0.6581, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.7 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1104, allocations: 76.18 MB / 0.6327 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004512/0.1149, allocations: 4.001 MB / 0.6366 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.1151, allocations: 151.5 kB / 0.6368 GB, free: 196 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.1152, allocations: 7.938 kB / 0.6368 GB, free: 188 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.1152, allocations: 0 / 0.6368 GB, free: 188 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.1153, allocations: 15.91 kB / 0.6368 GB, free: 172 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.1156, allocations: 78 kB / 0.6369 GB, free: 96 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.1157, allocations: 43.78 kB / 0.6369 GB, free: 52 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1157, allocations: 4 kB / 0.6369 GB, free: 48 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.1158, allocations: 15.92 kB / 0.6369 GB, free: 32 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.1158, allocations: 15.92 kB / 0.6369 GB, free: 16 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1158, allocations: 0 / 0.6369 GB, free: 16 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.116, allocations: 59.92 kB / 0.637 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1161, allocations: 11.98 kB / 0.637 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.187e-05/0.1161, allocations: 11.81 kB / 0.637 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1162, allocations: 39.91 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1162, allocations: 0 / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1162, allocations: 4 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1162, allocations: 0 / 0.6371 GB, free: 15.89 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.0003234/0.1166, allocations: 335.4 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1166, allocations: 8.031 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.1167, allocations: 4.938 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.1168, allocations: 164.4 kB / 0.6376 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.1168, allocations: 34.25 kB / 0.6376 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.1168, allocations: 384 / 0.6376 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1169, allocations: 49.62 kB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.117, allocations: 0 / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.117, allocations: 3.938 kB / 0.6376 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.117, allocations: 4 kB / 0.6376 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.117, allocations: 11.98 kB / 0.6377 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1174, allocations: 334 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.597e-05/0.1174, allocations: 14.58 kB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.1175, allocations: 16.92 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-05/0.1175, allocations: 85.09 kB / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1176, allocations: 34.5 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1176, allocations: 0 / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.1177, allocations: 33.7 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1177, allocations: 51.41 kB / 0.6382 GB, free: 14.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.1178, allocations: 105.9 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1178, allocations: 29.7 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.1179, allocations: 88.05 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.1179, allocations: 3.906 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1179, allocations: 21.7 kB / 0.6384 GB, free: 14.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.118, allocations: 314.8 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.118, allocations: 4 kB / 0.6387 GB, free: 13.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.1181, allocations: 21.66 kB / 0.6388 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.1181, allocations: 21.7 kB / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1181, allocations: 0 / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.948e-05/0.1182, allocations: 49.64 kB / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1182, allocations: 11.92 kB / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1182, allocations: 0 / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.1182, allocations: 0 / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.762e-05/0.1183, allocations: 8 kB / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1183, allocations: 8 kB / 0.6389 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.1183, allocations: 4.281 kB / 0.6389 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1183, allocations: 8 kB / 0.6389 GB, free: 13.77 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 5.732e-05/0.1184, allocations: 109.8 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.1184, allocations: 0 / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.453e-05/0.1185, allocations: 128.8 kB / 0.6391 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.1186, allocations: 180.3 kB / 0.6393 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.552e-05/0.1186, allocations: 109 kB / 0.6394 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1187, allocations: 186 kB / 0.6396 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.1187, allocations: 180.3 kB / 0.6397 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1189, allocations: 112.9 kB / 0.6398 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.119, allocations: 180.2 kB / 0.64 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.557e-05/0.119, allocations: 267.5 kB / 0.6403 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001366/0.1192, allocations: 371.1 kB / 0.6406 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.259e-05/0.1192, allocations: 104.9 kB / 0.6407 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.397e-05/0.1193, allocations: 87.27 kB / 0.6408 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Backend: time 2.11e-07/0.1193, allocations: 0 / 0.6408 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1196, allocations: 114.3 kB / 0.6409 GB, free: 11.56 MB / 494.1 MB Notification: Performance of SimCode: time 0.000423/0.1201, allocations: 0.8482 MB / 0.6417 GB, free: 10.66 MB / 494.1 MB Notification: Performance of Templates: time 0.002231/0.1223, allocations: 0.5501 MB / 0.6423 GB, free: 10.11 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)