Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001452, allocations: 100.2 kB / 16.35 MB, free: 5.879 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.001627/0.001628, allocations: 198 kB / 17.3 MB, free: 5.52 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7855/0.7855, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3849, allocations: 80.19 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1389/0.5238, allocations: 135.4 MB / 0.7137 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.524, allocations: 59.86 kB / 0.7138 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.5241, allocations: 0 / 0.7138 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.5242, allocations: 3.938 kB / 0.7138 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.5243, allocations: 15.97 kB / 0.7138 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.5252, allocations: 234.9 kB / 0.714 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.5253, allocations: 27.92 kB / 0.7141 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.5253, allocations: 11.97 kB / 0.7141 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.5253, allocations: 15.88 kB / 0.7141 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.5254, allocations: 19.92 kB / 0.7141 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.5254, allocations: 0 / 0.7141 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.5259, allocations: 247.4 kB / 0.7143 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.526, allocations: 7.984 kB / 0.7143 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.526, allocations: 15.92 kB / 0.7144 GB, free: 5.648 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.5263, allocations: 181.4 kB / 0.7145 GB, free: 5.477 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5264, allocations: 0 / 0.7145 GB, free: 5.477 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5264, allocations: 0 / 0.7145 GB, free: 5.477 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.5264, allocations: 0 / 0.7145 GB, free: 5.477 MB / 0.545 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.0004598/0.5268, allocations: 371.3 kB / 0.7149 GB, free: 5.066 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5269, allocations: 8.031 kB / 0.7149 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.527, allocations: 0.9375 kB / 0.7149 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5271, allocations: 172.3 kB / 0.7151 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.5272, allocations: 34.25 kB / 0.7151 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.5272, allocations: 3.938 kB / 0.7151 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.5273, allocations: 45.69 kB / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.5273, allocations: 0 / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5273, allocations: 0 / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5274, allocations: 0 / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.5274, allocations: 19.98 kB / 0.7152 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.5281, allocations: 0.5989 MB / 0.7157 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.365e-05/0.5282, allocations: 14.58 kB / 0.7158 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.5282, allocations: 8.922 kB / 0.7158 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.5284, allocations: 336.4 kB / 0.7161 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5284, allocations: 30.56 kB / 0.7161 GB, free: 3.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5284, allocations: 4 kB / 0.7161 GB, free: 3.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.5286, allocations: 45.53 kB / 0.7162 GB, free: 3.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5286, allocations: 51.41 kB / 0.7162 GB, free: 3.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.5287, allocations: 105.8 kB / 0.7163 GB, free: 3.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5287, allocations: 25.7 kB / 0.7163 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.5288, allocations: 84.05 kB / 0.7164 GB, free: 3.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-06/0.5288, allocations: 3.938 kB / 0.7164 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5288, allocations: 17.72 kB / 0.7164 GB, free: 3.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.5289, allocations: 326.9 kB / 0.7167 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.5289, allocations: 0 / 0.7167 GB, free: 2.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.529, allocations: 21.66 kB / 0.7168 GB, free: 2.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.529, allocations: 21.66 kB / 0.7168 GB, free: 2.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.529, allocations: 0 / 0.7168 GB, free: 2.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.118e-05/0.5291, allocations: 45.69 kB / 0.7168 GB, free: 2.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5291, allocations: 8.062 kB / 0.7168 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5291, allocations: 4 kB / 0.7168 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5291, allocations: 0 / 0.7168 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.5292, allocations: 11.92 kB / 0.7169 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.5292, allocations: 3.938 kB / 0.7169 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.5292, allocations: 7.906 kB / 0.7169 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.5292, allocations: 3.938 kB / 0.7169 GB, free: 2.691 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 7.076e-05/0.5293, allocations: 109.8 kB / 0.717 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.5293, allocations: 4 kB / 0.717 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.5295, allocations: 121 kB / 0.7171 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/0.5295, allocations: 184.2 kB / 0.7173 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-05/0.5296, allocations: 176.3 kB / 0.7174 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/0.5296, allocations: 176.3 kB / 0.7176 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.5299, allocations: 413.1 kB / 0.718 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.5299, allocations: 105 kB / 0.7181 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.5299, allocations: 112.9 kB / 0.7182 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/0.53, allocations: 180.3 kB / 0.7184 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.5301, allocations: 180.2 kB / 0.7186 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-05/0.5301, allocations: 176.3 kB / 0.7187 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.586e-05/0.5302, allocations: 188.3 kB / 0.7189 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.5304, allocations: 312 kB / 0.7192 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.5304, allocations: 182 kB / 0.7194 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.5305, allocations: 180.2 kB / 0.7195 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5307, allocations: 113.2 kB / 0.7196 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.5307, allocations: 184.2 kB / 0.7198 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.5308, allocations: 109 kB / 0.7199 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.5308, allocations: 91.2 kB / 0.72 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5308, allocations: 0 / 0.72 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002954/0.5311, allocations: 55.94 kB / 0.7201 GB, free: 15.2 MB / 0.5606 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.0002967/0.5314, allocations: 257.1 kB / 0.7203 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.5315, allocations: 15.92 kB / 0.7203 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5315, allocations: 0 / 0.7203 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.5315, allocations: 0 / 0.7203 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5319, allocations: 463.8 kB / 0.7208 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.5321, allocations: 185.7 kB / 0.7209 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5324, allocations: 0.6729 MB / 0.7216 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.5324, allocations: 15.92 kB / 0.7216 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.5325, allocations: 7.438 kB / 0.7216 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5325, allocations: 0 / 0.7216 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.003528/0.536, allocations: 1.28 MB / 0.7229 GB, free: 12.27 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)