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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001671/0.001671, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7494/0.7494, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.59 kB / 0.5011 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4537, allocations: 80.2 MB / 0.5794 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1563/0.6101, allocations: 133.3 MB / 0.7096 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.6102, allocations: 63.84 kB / 0.7097 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.6103, allocations: 0 / 0.7097 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.6104, allocations: 0 / 0.7097 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.6105, allocations: 11.92 kB / 0.7097 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.6113, allocations: 222.8 kB / 0.7099 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.6114, allocations: 63.86 kB / 0.71 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.6114, allocations: 0 / 0.71 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.6115, allocations: 15.94 kB / 0.71 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.6116, allocations: 19.91 kB / 0.71 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.6116, allocations: 0 / 0.71 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.6121, allocations: 243.3 kB / 0.7102 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.6121, allocations: 11.98 kB / 0.7103 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.6122, allocations: 11.94 kB / 0.7103 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.6126, allocations: 193.6 kB / 0.7105 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6126, allocations: 0 / 0.7105 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6126, allocations: 0 / 0.7105 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6126, allocations: 0 / 0.7105 GB, free: 11.07 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.0005319/0.6131, allocations: 367.4 kB / 0.7108 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6132, allocations: 8.031 kB / 0.7108 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.6132, allocations: 0.9375 kB / 0.7108 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.6134, allocations: 168.4 kB / 0.711 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.6135, allocations: 30.25 kB / 0.711 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.6135, allocations: 3.938 kB / 0.711 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.6137, allocations: 45.69 kB / 0.711 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6137, allocations: 0 / 0.711 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6137, allocations: 0 / 0.711 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.6137, allocations: 0 / 0.711 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.6138, allocations: 19.92 kB / 0.7111 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.6147, allocations: 0.6067 MB / 0.7117 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.268e-05/0.6147, allocations: 14.58 kB / 0.7117 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.6147, allocations: 8.922 kB / 0.7117 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.615, allocations: 332.4 kB / 0.712 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6151, allocations: 38.5 kB / 0.712 GB, free: 9.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.6151, allocations: 4 kB / 0.712 GB, free: 9.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001738/0.6152, allocations: 45.53 kB / 0.7121 GB, free: 9.078 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.6153, allocations: 51.41 kB / 0.7121 GB, free: 9.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.6154, allocations: 105.8 kB / 0.7122 GB, free: 8.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.6154, allocations: 25.7 kB / 0.7123 GB, free: 8.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.6155, allocations: 84.05 kB / 0.7123 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.6155, allocations: 3.938 kB / 0.7123 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.6155, allocations: 17.72 kB / 0.7124 GB, free: 8.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6157, allocations: 322.9 kB / 0.7127 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.6157, allocations: 4 kB / 0.7127 GB, free: 8.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.6157, allocations: 17.72 kB / 0.7127 GB, free: 8.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.6158, allocations: 21.66 kB / 0.7127 GB, free: 8.379 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6158, allocations: 0 / 0.7127 GB, free: 8.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.852e-05/0.6159, allocations: 57.56 kB / 0.7128 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6159, allocations: 4 kB / 0.7128 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.616, allocations: 4 kB / 0.7128 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.616, allocations: 0 / 0.7128 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.616, allocations: 7.984 kB / 0.7128 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.6161, allocations: 0 / 0.7128 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.6161, allocations: 0 / 0.7128 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.6161, allocations: 7.938 kB / 0.7128 GB, free: 8.293 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.039e-05/0.6162, allocations: 111.4 kB / 0.7129 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.6162, allocations: 12.25 kB / 0.7129 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.6164, allocations: 116.9 kB / 0.713 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.826e-05/0.6165, allocations: 184.2 kB / 0.7132 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-05/0.6166, allocations: 180.3 kB / 0.7134 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/0.6166, allocations: 180.2 kB / 0.7135 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.617, allocations: 409.2 kB / 0.7139 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.825e-05/0.6171, allocations: 108.9 kB / 0.714 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.6172, allocations: 109 kB / 0.7141 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.6173, allocations: 180.3 kB / 0.7143 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/0.6174, allocations: 180.2 kB / 0.7145 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-05/0.6174, allocations: 176.3 kB / 0.7146 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-05/0.6175, allocations: 184.2 kB / 0.7148 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6177, allocations: 311.8 kB / 0.7151 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.6178, allocations: 186 kB / 0.7153 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.6179, allocations: 180.2 kB / 0.7155 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.6181, allocations: 116.9 kB / 0.7156 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.6182, allocations: 180.3 kB / 0.7157 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.6182, allocations: 105 kB / 0.7158 GB, free: 4.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.6183, allocations: 91.14 kB / 0.7159 GB, free: 4.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6183, allocations: 0 / 0.7159 GB, free: 4.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004528/0.6187, allocations: 55.94 kB / 0.716 GB, free: 4.793 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.0004022/0.6192, allocations: 250.3 kB / 0.7162 GB, free: 4.539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.6194, allocations: 12 kB / 0.7162 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6194, allocations: 0 / 0.7162 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6194, allocations: 0 / 0.7162 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.6202, allocations: 0.5295 MB / 0.7168 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.6206, allocations: 179.7 kB / 0.7169 GB, free: 3.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.621, allocations: 0.6692 MB / 0.7176 GB, free: 3.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.621, allocations: 8 kB / 0.7176 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.6211, allocations: 15.42 kB / 0.7176 GB, free: 3.074 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6211, allocations: 0 / 0.7176 GB, free: 3.074 MB / 0.545 GB Notification: Performance of Templates: time 0.00485/0.6259, allocations: 1.261 MB / 0.7188 GB, free: 1.82 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)