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.001266/0.001266, allocations: 120 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.001263/0.001263, allocations: 196.7 kB / 18.02 MB, free: 5.039 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7504/0.7504, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 65.16 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1715, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5018/0.6733, allocations: 135.4 MB / 0.7649 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.6736, allocations: 54.69 kB / 0.765 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.6736, allocations: 1.625 kB / 0.765 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.6738, allocations: 6.375 kB / 0.765 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.6739, allocations: 12.53 kB / 0.765 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.6748, allocations: 240.4 kB / 0.7652 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.837e-05/0.6749, allocations: 27.3 kB / 0.7652 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.675, allocations: 4.125 kB / 0.7652 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.675, allocations: 20.52 kB / 0.7652 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.6751, allocations: 12.47 kB / 0.7653 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.6752, allocations: 1.406 kB / 0.7653 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004764/0.6756, allocations: 245.5 kB / 0.7655 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.6757, allocations: 7.406 kB / 0.7655 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.6757, allocations: 8.703 kB / 0.7655 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.6761, allocations: 188.8 kB / 0.7657 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6761, allocations: 1.312 kB / 0.7657 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6761, allocations: 0 / 0.7657 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.6761, allocations: 0 / 0.7657 GB, free: 15.83 MB / 0.5919 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.000458/0.6766, allocations: 361.6 kB / 0.766 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.6766, allocations: 12.47 kB / 0.766 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.6767, allocations: 4.844 kB / 0.7661 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6768, allocations: 171 kB / 0.7662 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.6769, allocations: 36.14 kB / 0.7663 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.6769, allocations: 5 kB / 0.7663 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.677, allocations: 44.73 kB / 0.7663 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6771, allocations: 0 / 0.7663 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6771, allocations: 0 / 0.7663 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.6771, allocations: 0 / 0.7663 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.6771, allocations: 10.81 kB / 0.7663 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.678, allocations: 0.6034 MB / 0.7669 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.76e-05/0.678, allocations: 19.72 kB / 0.7669 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.678, allocations: 11.89 kB / 0.7669 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.6782, allocations: 333.1 kB / 0.7672 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.6783, allocations: 34.5 kB / 0.7673 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.6783, allocations: 4 kB / 0.7673 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.6784, allocations: 38.55 kB / 0.7673 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.6785, allocations: 51.41 kB / 0.7674 GB, free: 14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.6786, allocations: 105.5 kB / 0.7675 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6786, allocations: 25.7 kB / 0.7675 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.6786, allocations: 88.8 kB / 0.7676 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.6786, allocations: 7.844 kB / 0.7676 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.6787, allocations: 19 kB / 0.7676 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6788, allocations: 321.3 kB / 0.7679 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.6788, allocations: 1.969 kB / 0.7679 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.6789, allocations: 19.25 kB / 0.7679 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.438e-05/0.6789, allocations: 19.16 kB / 0.7679 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6789, allocations: 3.719 kB / 0.768 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.319e-05/0.679, allocations: 51.55 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.679, allocations: 5.906 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.679, allocations: 3.938 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.679, allocations: 1.375 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.6791, allocations: 9.172 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.6791, allocations: 0 / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.6791, allocations: 2.594 kB / 0.768 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.6791, allocations: 0 / 0.768 GB, free: 13.36 MB / 0.5919 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.985e-05/0.6792, allocations: 116.5 kB / 0.7681 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.6793, allocations: 4.062 kB / 0.7681 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6794, allocations: 118.3 kB / 0.7683 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-05/0.6795, allocations: 180.5 kB / 0.7684 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-05/0.6795, allocations: 184.3 kB / 0.7686 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.445e-05/0.6796, allocations: 178.9 kB / 0.7688 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.6798, allocations: 417.7 kB / 0.7692 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.515e-05/0.6799, allocations: 101 kB / 0.7693 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.6799, allocations: 106.1 kB / 0.7694 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-05/0.68, allocations: 181.7 kB / 0.7695 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.68, allocations: 176.9 kB / 0.7697 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-05/0.6801, allocations: 187.2 kB / 0.7699 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.625e-05/0.6802, allocations: 180.3 kB / 0.7701 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.6803, allocations: 316.5 kB / 0.7704 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.6804, allocations: 185.2 kB / 0.7705 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.6805, allocations: 182.4 kB / 0.7707 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.6806, allocations: 115 kB / 0.7708 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.6807, allocations: 181.4 kB / 0.771 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.6807, allocations: 101 kB / 0.7711 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.6808, allocations: 90.5 kB / 0.7712 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6808, allocations: 0 / 0.7712 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003102/0.6811, allocations: 59.19 kB / 0.7712 GB, free: 9.977 MB / 0.5919 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.0003362/0.6815, allocations: 254.5 kB / 0.7715 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.6816, allocations: 12.84 kB / 0.7715 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6816, allocations: 0 / 0.7715 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.6816, allocations: 0 / 0.7715 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.682, allocations: 462.8 kB / 0.7719 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.6824, allocations: 201.2 kB / 0.7721 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.6826, allocations: 0.6821 MB / 0.7728 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.6826, allocations: 10.75 kB / 0.7728 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6826, allocations: 5.203 kB / 0.7728 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of Templates: time 0.003419/0.6861, allocations: 1.233 MB / 0.774 GB, free: 8.273 MB / 0.5919 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)