Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00107/0.00107, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006946/0.006946, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8.594 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 82.32 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001323/0.1743, allocations: 0.9822 MB / 0.5889 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4942/0.6685, allocations: 134.3 MB / 0.72 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.6686, allocations: 0 / 0.72 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.6686, allocations: 2.656 kB / 0.72 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.6687, allocations: 4.5 kB / 0.72 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.6699, allocations: 368.9 kB / 0.7204 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.67, allocations: 43.19 kB / 0.7204 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.6701, allocations: 10.05 kB / 0.7204 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.6701, allocations: 22.53 kB / 0.7205 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.6702, allocations: 24.02 kB / 0.7205 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.6702, allocations: 2.438 kB / 0.7205 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.6718, allocations: 0.8196 MB / 0.7213 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.6719, allocations: 9.344 kB / 0.7213 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.6719, allocations: 43.36 kB / 0.7213 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.6726, allocations: 447.9 kB / 0.7218 GB, free: 9.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6726, allocations: 1.062 kB / 0.7218 GB, free: 9.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6726, allocations: 0.6562 kB / 0.7218 GB, free: 9.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6726, allocations: 0 / 0.7218 GB, free: 9.18 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.0004926/0.6731, allocations: 359 kB / 0.7221 GB, free: 8.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6732, allocations: 10.47 kB / 0.7221 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.6734, allocations: 13.03 kB / 0.7221 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6735, allocations: 165.2 kB / 0.7223 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6735, allocations: 7.297 kB / 0.7223 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.6735, allocations: 5.688 kB / 0.7223 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.6737, allocations: 58.62 kB / 0.7224 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6737, allocations: 0 / 0.7224 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6737, allocations: 0.75 kB / 0.7224 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6738, allocations: 1.438 kB / 0.7224 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.6738, allocations: 23.61 kB / 0.7224 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.674, allocations: 170.5 kB / 0.7225 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.6741, allocations: 53.56 kB / 0.7226 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.6742, allocations: 16.67 kB / 0.7226 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.6865, allocations: 3.207 MB / 0.7257 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.6866, allocations: 35.31 kB / 0.7258 GB, free: 7.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.6866, allocations: 1.688 kB / 0.7258 GB, free: 7.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03971/0.7263, allocations: 14.25 MB / 0.7397 GB, free: 232 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.7264, allocations: 55.41 kB / 0.7397 GB, free: 164 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.7265, allocations: 89.86 kB / 0.7398 GB, free: 64 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.7265, allocations: 25.7 kB / 0.7399 GB, free: 32 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.7266, allocations: 88.14 kB / 0.7399 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.7266, allocations: 39.39 kB / 0.74 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.7267, allocations: 21.7 kB / 0.74 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7268, allocations: 319 kB / 0.7403 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.7268, allocations: 23.92 kB / 0.7403 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.7269, allocations: 27.98 kB / 0.7404 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.727, allocations: 66.86 kB / 0.7404 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.727, allocations: 0 / 0.7404 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002089/0.7272, allocations: 101.7 kB / 0.7405 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7273, allocations: 8 kB / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.7273, allocations: 0 / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7273, allocations: 0 / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.7274, allocations: 27.92 kB / 0.7405 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.7274, allocations: 4 kB / 0.7405 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.7275, allocations: 4 kB / 0.7406 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.7275, allocations: 4 kB / 0.7406 GB, free: 15.29 MB / 0.5606 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 8.271e-05/0.7276, allocations: 117.8 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.7276, allocations: 7.906 kB / 0.7407 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.7279, allocations: 121.5 kB / 0.7408 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7279, allocations: 4 kB / 0.7408 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7279, allocations: 3.938 kB / 0.7408 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7279, allocations: 3.984 kB / 0.7408 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.7281, allocations: 182.8 kB / 0.741 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7281, allocations: 0 / 0.741 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.7282, allocations: 23.98 kB / 0.741 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7282, allocations: 0 / 0.741 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7282, allocations: 11.98 kB / 0.741 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7282, allocations: 0 / 0.741 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7283, allocations: 4 kB / 0.741 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.7285, allocations: 148.9 kB / 0.7412 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.7286, allocations: 89.14 kB / 0.7412 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.7286, allocations: 4.859 kB / 0.7412 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.7288, allocations: 16 kB / 0.7413 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.7288, allocations: 11.98 kB / 0.7413 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.7288, allocations: 4 kB / 0.7413 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.7289, allocations: 83.22 kB / 0.7414 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7289, allocations: 0 / 0.7414 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00228/0.7312, allocations: 0.5663 MB / 0.7419 GB, free: 13.8 MB / 0.5606 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.00279/0.734, allocations: 365 kB / 0.7423 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.7341, allocations: 59.92 kB / 0.7423 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7342, allocations: 0 / 0.7423 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.7342, allocations: 43.92 kB / 0.7424 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.7344, allocations: 14.52 kB / 0.7424 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.735, allocations: 413.1 kB / 0.7428 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.7353, allocations: 0.6856 MB / 0.7434 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.7354, allocations: 28.52 kB / 0.7435 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.7354, allocations: 19.44 kB / 0.7435 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.7354, allocations: 0 / 0.7435 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.03702/0.7725, allocations: 24.19 MB / 0.7671 GB, free: 3.945 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)