Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 102 kB / 16.94 MB, free: 6.191 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.001652/0.001652, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.44/1.44, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7633/0.7633, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 59.91 kB / 0.4917 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3414, allocations: 77.92 MB / 0.5678 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1402/0.4817, allocations: 135.4 MB / 0.7 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.4819, allocations: 59.81 kB / 0.7001 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.482, allocations: 0 / 0.7001 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.4821, allocations: 7.984 kB / 0.7001 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.4822, allocations: 7.922 kB / 0.7001 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4833, allocations: 242.9 kB / 0.7003 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.4834, allocations: 35.86 kB / 0.7004 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.4834, allocations: 0 / 0.7004 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.4835, allocations: 19.97 kB / 0.7004 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.4835, allocations: 7.938 kB / 0.7004 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.4836, allocations: 0 / 0.7004 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.4841, allocations: 251.4 kB / 0.7006 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.4842, allocations: 4 kB / 0.7006 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.4842, allocations: 11.92 kB / 0.7006 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.4847, allocations: 181.7 kB / 0.7008 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4847, allocations: 3.984 kB / 0.7008 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4847, allocations: 0 / 0.7008 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4847, allocations: 0 / 0.7008 GB, free: 2.18 MB / 0.5294 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.000478/0.4852, allocations: 367.3 kB / 0.7012 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.4853, allocations: 8.625 kB / 0.7012 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.4853, allocations: 4.938 kB / 0.7012 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4854, allocations: 168.4 kB / 0.7013 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.4855, allocations: 26.27 kB / 0.7014 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.4855, allocations: 7.938 kB / 0.7014 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.4857, allocations: 37.69 kB / 0.7014 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4857, allocations: 0 / 0.7014 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4857, allocations: 4 kB / 0.7014 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4857, allocations: 4 kB / 0.7014 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.4858, allocations: 11.98 kB / 0.7014 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.4866, allocations: 0.6028 MB / 0.702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.4867, allocations: 22.58 kB / 0.702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.4867, allocations: 4.859 kB / 0.702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.4869, allocations: 332.5 kB / 0.7024 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.487, allocations: 34.56 kB / 0.7024 GB, free: 256 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.487, allocations: 4 kB / 0.7024 GB, free: 252 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.4871, allocations: 37.62 kB / 0.7024 GB, free: 208 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4872, allocations: 55.41 kB / 0.7025 GB, free: 140 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.4873, allocations: 97.86 kB / 0.7026 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4873, allocations: 25.7 kB / 0.7026 GB, free: 0 / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.4874, allocations: 92.03 kB / 0.7027 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.4874, allocations: 11.84 kB / 0.7027 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.4874, allocations: 13.72 kB / 0.7027 GB, free: 15.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.4875, allocations: 322.9 kB / 0.703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.4876, allocations: 3.984 kB / 0.703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.4876, allocations: 17.89 kB / 0.703 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.4876, allocations: 25.66 kB / 0.7031 GB, free: 15.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4876, allocations: 0 / 0.7031 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.207e-05/0.4877, allocations: 53.62 kB / 0.7031 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4878, allocations: 8 kB / 0.7031 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4878, allocations: 0 / 0.7031 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4878, allocations: 3.938 kB / 0.7031 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.4878, allocations: 7.938 kB / 0.7031 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4878, allocations: 0 / 0.7031 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.4879, allocations: 7.984 kB / 0.7031 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4879, allocations: 7.938 kB / 0.7032 GB, free: 15.4 MB / 0.545 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 8.38e-05/0.488, allocations: 109.8 kB / 0.7033 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.488, allocations: 4.062 kB / 0.7033 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.4881, allocations: 120.9 kB / 0.7034 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.4882, allocations: 184.2 kB / 0.7036 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-05/0.4883, allocations: 176.3 kB / 0.7037 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.006e-05/0.4884, allocations: 184.2 kB / 0.7039 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4886, allocations: 409.2 kB / 0.7043 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/0.4886, allocations: 105 kB / 0.7044 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.4887, allocations: 104.9 kB / 0.7045 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/0.4888, allocations: 180.2 kB / 0.7047 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.4888, allocations: 184.2 kB / 0.7048 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.758e-05/0.4889, allocations: 184.3 kB / 0.705 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.288e-05/0.489, allocations: 180.3 kB / 0.7052 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.4891, allocations: 311.7 kB / 0.7055 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4892, allocations: 182 kB / 0.7057 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/0.4893, allocations: 180.3 kB / 0.7058 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.4895, allocations: 109.2 kB / 0.7059 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.4896, allocations: 184.2 kB / 0.7061 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4896, allocations: 105 kB / 0.7062 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.4897, allocations: 87.22 kB / 0.7063 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4897, allocations: 0 / 0.7063 GB, free: 11.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003598/0.49, allocations: 59.92 kB / 0.7063 GB, free: 11.91 MB / 0.545 GB 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.0003697/0.4904, allocations: 246.4 kB / 0.7066 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.4905, allocations: 11.94 kB / 0.7066 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4905, allocations: 3.938 kB / 0.7066 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4905, allocations: 0 / 0.7066 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4909, allocations: 464 kB / 0.707 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.4912, allocations: 219.5 kB / 0.7072 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.4915, allocations: 0.6729 MB / 0.7079 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.4915, allocations: 15.44 kB / 0.7079 GB, free: 10.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4916, allocations: 0 / 0.7079 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Templates: time 0.003012/0.4946, allocations: 1.231 MB / 0.7091 GB, free: 8.992 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)