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.001282/0.001282, allocations: 115.4 kB / 17.08 MB, free: 6.012 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.001221/0.001221, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.61 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4993/0.6299, allocations: 135.4 MB / 0.7649 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.6301, allocations: 49.39 kB / 0.765 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.6301, allocations: 5.188 kB / 0.765 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.6302, allocations: 3.938 kB / 0.765 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.6303, allocations: 17.5 kB / 0.765 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.631, allocations: 224.7 kB / 0.7652 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.6311, allocations: 39.98 kB / 0.7652 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.6312, allocations: 3.688 kB / 0.7652 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.6312, allocations: 15.33 kB / 0.7653 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.6313, allocations: 19.45 kB / 0.7653 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6313, allocations: 2.281 kB / 0.7653 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.6317, allocations: 238.8 kB / 0.7655 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.6318, allocations: 8.547 kB / 0.7655 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.6318, allocations: 9.938 kB / 0.7655 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.6321, allocations: 185.2 kB / 0.7657 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6321, allocations: 0 / 0.7657 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6321, allocations: 5.203 kB / 0.7657 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6321, allocations: 1.781 kB / 0.7657 GB, free: 15.41 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.0003698/0.6325, allocations: 353.6 kB / 0.766 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.6325, allocations: 8.5 kB / 0.766 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.6326, allocations: 8.938 kB / 0.7661 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.6327, allocations: 162.6 kB / 0.7662 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.6328, allocations: 29.97 kB / 0.7662 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.6328, allocations: 4.875 kB / 0.7662 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.6329, allocations: 50.59 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6329, allocations: 2.531 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.6329, allocations: 6.484 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.633, allocations: 0 / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.633, allocations: 16.39 kB / 0.7663 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.6337, allocations: 0.5977 MB / 0.7669 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/0.6338, allocations: 19.89 kB / 0.7669 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.6338, allocations: 14.55 kB / 0.7669 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.634, allocations: 334.6 kB / 0.7673 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.634, allocations: 39 kB / 0.7673 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.634, allocations: 0 / 0.7673 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.6342, allocations: 33.69 kB / 0.7673 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.6342, allocations: 51.41 kB / 0.7674 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.6343, allocations: 108.2 kB / 0.7675 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.6343, allocations: 25.7 kB / 0.7675 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.6344, allocations: 89.41 kB / 0.7676 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.6344, allocations: 11.16 kB / 0.7676 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.6344, allocations: 13.84 kB / 0.7676 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6345, allocations: 323.6 kB / 0.7679 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.6346, allocations: 3.938 kB / 0.7679 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.6346, allocations: 20.34 kB / 0.7679 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.6346, allocations: 20.03 kB / 0.768 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6346, allocations: 0 / 0.768 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.254e-05/0.6347, allocations: 53.33 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6347, allocations: 5.625 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6348, allocations: 0 / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6348, allocations: 3.938 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.6348, allocations: 9.719 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6348, allocations: 2.531 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.6349, allocations: 0.75 kB / 0.768 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.6349, allocations: 2.781 kB / 0.768 GB, free: 12.94 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 7.325e-05/0.6349, allocations: 115.3 kB / 0.7681 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.635, allocations: 1.156 kB / 0.7681 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.6351, allocations: 121.7 kB / 0.7683 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.6352, allocations: 181.5 kB / 0.7684 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.569e-05/0.6352, allocations: 189.6 kB / 0.7686 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.6353, allocations: 179.7 kB / 0.7688 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.6356, allocations: 407.5 kB / 0.7692 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/0.6356, allocations: 104.9 kB / 0.7693 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.6356, allocations: 105 kB / 0.7694 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.399e-05/0.6357, allocations: 184 kB / 0.7695 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.6358, allocations: 179.9 kB / 0.7697 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-05/0.6358, allocations: 182.7 kB / 0.7699 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-05/0.6359, allocations: 179.8 kB / 0.7701 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.636, allocations: 312.8 kB / 0.7704 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.6361, allocations: 183.9 kB / 0.7705 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.6362, allocations: 189.5 kB / 0.7707 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6364, allocations: 104.9 kB / 0.7708 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.6364, allocations: 178.7 kB / 0.771 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.6365, allocations: 108.9 kB / 0.7711 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.6365, allocations: 85.3 kB / 0.7712 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6365, allocations: 0 / 0.7712 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003237/0.6369, allocations: 64.75 kB / 0.7712 GB, free: 9.559 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.0003108/0.6372, allocations: 257.1 kB / 0.7715 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.6373, allocations: 9.156 kB / 0.7715 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6373, allocations: 1.188 kB / 0.7715 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.6373, allocations: 6.328 kB / 0.7715 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.6377, allocations: 455.4 kB / 0.7719 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.638, allocations: 206 kB / 0.7721 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6382, allocations: 0.6777 MB / 0.7728 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.6382, allocations: 9.938 kB / 0.7728 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6382, allocations: 0 / 0.7728 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of Templates: time 0.002569/0.6408, allocations: 1.237 MB / 0.774 GB, free: 7.855 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)