Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001791/0.001791, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 285.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 96.22 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3699, allocations: 86.97 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1335/0.5035, allocations: 135.4 MB / 0.8993 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.5037, allocations: 51.73 kB / 0.8993 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.5037, allocations: 0 / 0.8993 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.5039, allocations: 11.94 kB / 0.8993 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.504, allocations: 11.91 kB / 0.8994 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.5048, allocations: 250.8 kB / 0.8996 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.5049, allocations: 35.86 kB / 0.8996 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.505, allocations: 3.984 kB / 0.8996 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.505, allocations: 19.81 kB / 0.8996 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.427e-05/0.5051, allocations: 11.98 kB / 0.8997 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.5051, allocations: 0 / 0.8997 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000496/0.5056, allocations: 247.4 kB / 0.8999 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.5057, allocations: 8 kB / 0.8999 GB, free: 11.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.5057, allocations: 15.91 kB / 0.8999 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.5061, allocations: 183.4 kB / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5061, allocations: 0 / 0.9001 GB, free: 11.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5061, allocations: 3.938 kB / 0.9001 GB, free: 11.15 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5061, allocations: 4 kB / 0.9001 GB, free: 11.15 MB / 0.67 GB 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.0003782/0.5065, allocations: 358 kB / 0.9004 GB, free: 10.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5065, allocations: 8.031 kB / 0.9004 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.5066, allocations: 8.844 kB / 0.9005 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.5067, allocations: 160.4 kB / 0.9006 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.5068, allocations: 26.27 kB / 0.9006 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.5068, allocations: 3.938 kB / 0.9006 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.5069, allocations: 57.66 kB / 0.9007 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5069, allocations: 0 / 0.9007 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5069, allocations: 0 / 0.9007 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.507, allocations: 0 / 0.9007 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.507, allocations: 23.92 kB / 0.9007 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.5078, allocations: 0.5911 MB / 0.9013 GB, free: 9.707 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.5078, allocations: 22.56 kB / 0.9013 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.5078, allocations: 8.922 kB / 0.9013 GB, free: 9.664 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.5081, allocations: 336.4 kB / 0.9016 GB, free: 9.262 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5081, allocations: 30.56 kB / 0.9017 GB, free: 9.223 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.5081, allocations: 0 / 0.9017 GB, free: 9.223 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.5083, allocations: 37.64 kB / 0.9017 GB, free: 9.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5083, allocations: 51.41 kB / 0.9018 GB, free: 9.117 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.5084, allocations: 110 kB / 0.9019 GB, free: 9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5084, allocations: 25.7 kB / 0.9019 GB, free: 8.969 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.5084, allocations: 87.98 kB / 0.902 GB, free: 8.879 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-06/0.5085, allocations: 3.906 kB / 0.902 GB, free: 8.875 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.5085, allocations: 21.7 kB / 0.902 GB, free: 8.848 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.5086, allocations: 318.7 kB / 0.9023 GB, free: 8.527 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.5086, allocations: 4 kB / 0.9023 GB, free: 8.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.5086, allocations: 21.7 kB / 0.9023 GB, free: 8.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.5087, allocations: 25.66 kB / 0.9024 GB, free: 8.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5087, allocations: 3.938 kB / 0.9024 GB, free: 8.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.462e-05/0.5088, allocations: 49.62 kB / 0.9024 GB, free: 8.406 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5088, allocations: 4 kB / 0.9024 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5088, allocations: 0 / 0.9024 GB, free: 8.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.5088, allocations: 4 kB / 0.9024 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.5089, allocations: 4 kB / 0.9024 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5089, allocations: 8.047 kB / 0.9024 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.5089, allocations: 0 / 0.9024 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5089, allocations: 8 kB / 0.9024 GB, free: 8.379 MB / 0.67 GB 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.408e-05/0.509, allocations: 112.2 kB / 0.9025 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.509, allocations: 7.984 kB / 0.9025 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.5091, allocations: 116.8 kB / 0.9027 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.915e-05/0.5092, allocations: 188.3 kB / 0.9028 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/0.5092, allocations: 101 kB / 0.9029 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.5093, allocations: 186 kB / 0.9031 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.5094, allocations: 184.2 kB / 0.9033 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5095, allocations: 105 kB / 0.9034 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.5096, allocations: 188.2 kB / 0.9036 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.744e-05/0.5097, allocations: 259.5 kB / 0.9038 GB, free: 6.875 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001535/0.5099, allocations: 379 kB / 0.9042 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.874e-05/0.5099, allocations: 112.8 kB / 0.9043 GB, free: 6.363 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.5099, allocations: 87.28 kB / 0.9044 GB, free: 6.277 MB / 0.67 GB Notification: Performance of Backend: time 3.61e-07/0.5099, allocations: 0 / 0.9044 GB, free: 6.277 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005154/0.5105, allocations: 159 kB / 0.9045 GB, free: 6.113 MB / 0.67 GB Notification: Performance of SimCode: time 0.000503/0.511, allocations: 0.8679 MB / 0.9054 GB, free: 5.191 MB / 0.67 GB Notification: Performance of Templates: time 0.003407/0.5144, allocations: 1.207 MB / 0.9065 GB, free: 3.988 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)