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.001266/0.001266, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.001251, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7129/0.7129, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.38 kB / 0.5018 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4405, allocations: 80.2 MB / 0.5801 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00223/0.4428, allocations: 1.256 MB / 0.5813 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1566/0.5994, allocations: 137.7 MB / 0.7158 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.5995, allocations: 0 / 0.7158 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.5995, allocations: 3.938 kB / 0.7158 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.5996, allocations: 7.984 kB / 0.7158 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.6012, allocations: 466.3 kB / 0.7163 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.6013, allocations: 43.78 kB / 0.7163 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.6013, allocations: 4 kB / 0.7163 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.6014, allocations: 19.97 kB / 0.7163 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.6015, allocations: 19.92 kB / 0.7163 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.6015, allocations: 8 kB / 0.7163 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.6031, allocations: 0.8114 MB / 0.7171 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.6031, allocations: 7.984 kB / 0.7171 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.6032, allocations: 19.92 kB / 0.7172 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00073/0.6039, allocations: 441.1 kB / 0.7176 GB, free: 4.254 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6039, allocations: 0 / 0.7176 GB, free: 4.254 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6039, allocations: 0 / 0.7176 GB, free: 4.254 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6039, allocations: 0 / 0.7176 GB, free: 4.254 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.0005193/0.6044, allocations: 371.4 kB / 0.7179 GB, free: 3.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6045, allocations: 12.03 kB / 0.718 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.6047, allocations: 16.91 kB / 0.718 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.49e-05/0.6048, allocations: 164.3 kB / 0.7181 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.6048, allocations: 8.375 kB / 0.7181 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.6048, allocations: 12.11 kB / 0.7181 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.605, allocations: 57.67 kB / 0.7182 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.605, allocations: 0 / 0.7182 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.605, allocations: 0 / 0.7182 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.605, allocations: 0 / 0.7182 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.6051, allocations: 23.97 kB / 0.7182 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.6053, allocations: 169.6 kB / 0.7184 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.6054, allocations: 54.48 kB / 0.7184 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.6054, allocations: 24.78 kB / 0.7185 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.6168, allocations: 3.17 MB / 0.7216 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6168, allocations: 34.8 kB / 0.7216 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/0.6168, allocations: 0 / 0.7216 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04212/0.659, allocations: 14.86 MB / 0.7361 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.659, allocations: 51.41 kB / 0.7362 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.6591, allocations: 93.86 kB / 0.7362 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.6591, allocations: 33.64 kB / 0.7363 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.6592, allocations: 84.14 kB / 0.7364 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.6592, allocations: 39.39 kB / 0.7364 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.6593, allocations: 29.7 kB / 0.7364 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6594, allocations: 322.8 kB / 0.7367 GB, free: 208 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.6594, allocations: 23.92 kB / 0.7368 GB, free: 184 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.085e-05/0.6595, allocations: 23.98 kB / 0.7368 GB, free: 160 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.6596, allocations: 56.98 kB / 0.7368 GB, free: 100 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.6596, allocations: 4 kB / 0.7368 GB, free: 96 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002282/0.6599, allocations: 110.6 kB / 0.7369 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6599, allocations: 8 kB / 0.7369 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6599, allocations: 0 / 0.7369 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6599, allocations: 0 / 0.7369 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.66, allocations: 27.92 kB / 0.737 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6601, allocations: 0 / 0.737 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.6601, allocations: 4 kB / 0.737 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.6601, allocations: 8 kB / 0.737 GB, free: 15.93 MB / 0.5762 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 7.953e-05/0.6602, allocations: 121.8 kB / 0.7371 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.6602, allocations: 4 kB / 0.7371 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.6605, allocations: 125.4 kB / 0.7372 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6605, allocations: 4 kB / 0.7372 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6605, allocations: 0 / 0.7372 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6605, allocations: 7.984 kB / 0.7372 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.6607, allocations: 181.6 kB / 0.7374 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6607, allocations: 0 / 0.7374 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6608, allocations: 20 kB / 0.7374 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6608, allocations: 0 / 0.7374 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6608, allocations: 7.984 kB / 0.7374 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6609, allocations: 4 kB / 0.7374 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6609, allocations: 0 / 0.7374 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.6612, allocations: 160.8 kB / 0.7376 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.6612, allocations: 97.11 kB / 0.7377 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.6613, allocations: 0 / 0.7377 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.6614, allocations: 12 kB / 0.7377 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.6614, allocations: 7.984 kB / 0.7377 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.6615, allocations: 8 kB / 0.7377 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.6615, allocations: 75.28 kB / 0.7378 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6615, allocations: 4.094 kB / 0.7378 GB, free: 15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001728/0.6632, allocations: 0.5663 MB / 0.7383 GB, free: 14.44 MB / 0.5762 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.003392/0.6666, allocations: 351 kB / 0.7387 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.6669, allocations: 74.12 kB / 0.7387 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6669, allocations: 0 / 0.7387 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.667, allocations: 39.86 kB / 0.7388 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.6672, allocations: 14.12 kB / 0.7388 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.6678, allocations: 349.9 kB / 0.7391 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6681, allocations: 0.6924 MB / 0.7398 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.6682, allocations: 20.55 kB / 0.7398 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.6682, allocations: 15.44 kB / 0.7398 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6682, allocations: 0 / 0.7398 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.03642/0.7046, allocations: 24.24 MB / 0.7635 GB, free: 4.672 MB / 0.5919 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)