Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001238/0.001238, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7848/0.7848, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 59.62 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1548, allocations: 80.2 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002517/0.1574, allocations: 1.321 MB / 0.5807 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4335/0.5909, allocations: 135.7 MB / 0.7132 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.591, allocations: 1.312 kB / 0.7132 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.591, allocations: 0.7031 kB / 0.7132 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.5912, allocations: 5.344 kB / 0.7132 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.5933, allocations: 376.8 kB / 0.7136 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.5934, allocations: 37.28 kB / 0.7136 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.5934, allocations: 3.578 kB / 0.7136 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.5935, allocations: 25.88 kB / 0.7137 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.5936, allocations: 17.23 kB / 0.7137 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.5937, allocations: 1.344 kB / 0.7137 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.5964, allocations: 0.8199 MB / 0.7145 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.5964, allocations: 13.56 kB / 0.7145 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.5965, allocations: 17.84 kB / 0.7145 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.5979, allocations: 445.6 kB / 0.7149 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5979, allocations: 0 / 0.7149 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5979, allocations: 4 kB / 0.7149 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.5979, allocations: 1.031 kB / 0.7149 GB, free: 14.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001083/0.599, allocations: 370.8 kB / 0.7153 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5991, allocations: 11.44 kB / 0.7153 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.5993, allocations: 22.45 kB / 0.7153 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.5995, allocations: 161.1 kB / 0.7155 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5995, allocations: 2.656 kB / 0.7155 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.5996, allocations: 9.938 kB / 0.7155 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5997, allocations: 60.34 kB / 0.7156 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5998, allocations: 1.375 kB / 0.7156 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5998, allocations: 0 / 0.7156 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5998, allocations: 5.094 kB / 0.7156 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.5999, allocations: 19.17 kB / 0.7156 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.6001, allocations: 167.7 kB / 0.7157 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6002, allocations: 52.33 kB / 0.7158 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.6003, allocations: 21.91 kB / 0.7158 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.6125, allocations: 3.17 MB / 0.7189 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.6125, allocations: 31.69 kB / 0.7189 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.6125, allocations: 0 / 0.7189 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04168/0.6542, allocations: 14.87 MB / 0.7335 GB, free: 5.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.6543, allocations: 55.41 kB / 0.7335 GB, free: 5.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.6544, allocations: 89.86 kB / 0.7336 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.6544, allocations: 29.7 kB / 0.7336 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.6545, allocations: 80.14 kB / 0.7337 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.6545, allocations: 43.39 kB / 0.7337 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.6546, allocations: 33.83 kB / 0.7338 GB, free: 4.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6547, allocations: 314.8 kB / 0.7341 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.6548, allocations: 27.98 kB / 0.7341 GB, free: 4.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.6549, allocations: 28.8 kB / 0.7341 GB, free: 4.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.655, allocations: 67.67 kB / 0.7342 GB, free: 4.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.655, allocations: 0 / 0.7342 GB, free: 4.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.6552, allocations: 101.6 kB / 0.7343 GB, free: 4.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6553, allocations: 4 kB / 0.7343 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6553, allocations: 3.938 kB / 0.7343 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6553, allocations: 4 kB / 0.7343 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.6554, allocations: 31.92 kB / 0.7343 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6555, allocations: 4 kB / 0.7343 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.6555, allocations: 1.812 kB / 0.7343 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.6555, allocations: 8 kB / 0.7343 GB, free: 4.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 9.483e-05/0.6556, allocations: 113.8 kB / 0.7345 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6557, allocations: 4 kB / 0.7345 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.656, allocations: 130.1 kB / 0.7346 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.656, allocations: 0 / 0.7346 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.656, allocations: 0 / 0.7346 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.656, allocations: 3.984 kB / 0.7346 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.6562, allocations: 173.6 kB / 0.7348 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6562, allocations: 3.984 kB / 0.7348 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6564, allocations: 24 kB / 0.7348 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.6564, allocations: 4 kB / 0.7348 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.6564, allocations: 7.984 kB / 0.7348 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6564, allocations: 3.938 kB / 0.7348 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6564, allocations: 0 / 0.7348 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.6567, allocations: 160.1 kB / 0.7349 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.6568, allocations: 93.03 kB / 0.735 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.6569, allocations: 8 kB / 0.735 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.657, allocations: 12 kB / 0.7351 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.657, allocations: 11.98 kB / 0.7351 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.6571, allocations: 4 kB / 0.7351 GB, free: 3.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.6571, allocations: 75.28 kB / 0.7351 GB, free: 3.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6571, allocations: 0 / 0.7351 GB, free: 3.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002519/0.6596, allocations: 0.5702 MB / 0.7357 GB, free: 2.746 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.004669/0.6643, allocations: 355.2 kB / 0.736 GB, free: 2.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.6646, allocations: 67.91 kB / 0.7361 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6646, allocations: 8 kB / 0.7361 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.6647, allocations: 31.94 kB / 0.7361 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.6649, allocations: 19.86 kB / 0.7362 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.6655, allocations: 357.5 kB / 0.7365 GB, free: 1.906 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.6658, allocations: 0.6848 MB / 0.7372 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.722e-05/0.6659, allocations: 24.53 kB / 0.7372 GB, free: 1.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.6659, allocations: 15.44 kB / 0.7372 GB, free: 1.16 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.6659, allocations: 0 / 0.7372 GB, free: 1.16 MB / 0.545 GB Notification: Performance of Templates: time 0.03604/0.702, allocations: 24.21 MB / 0.7609 GB, free: 9.016 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)