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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001168, allocations: 180.7 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6885/0.6885, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 403.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 99.73 kB / 484.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.91 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.143, allocations: 80.2 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002582/0.1456, allocations: 1.319 MB / 0.6414 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4256/0.5712, allocations: 135.7 MB / 0.774 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.5713, allocations: 0 / 0.774 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.587e-05/0.5714, allocations: 1.781 kB / 0.774 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.5715, allocations: 7.922 kB / 0.774 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.5726, allocations: 379.3 kB / 0.7744 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.5727, allocations: 44.27 kB / 0.7744 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.5727, allocations: 2.062 kB / 0.7744 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.5727, allocations: 20.77 kB / 0.7744 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.5728, allocations: 23.66 kB / 0.7744 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5728, allocations: 1.812 kB / 0.7744 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.5742, allocations: 0.8162 MB / 0.7752 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.5742, allocations: 10.12 kB / 0.7753 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.5742, allocations: 15.38 kB / 0.7753 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.5748, allocations: 451.9 kB / 0.7757 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5748, allocations: 1.812 kB / 0.7757 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5748, allocations: 4 kB / 0.7757 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.5748, allocations: 0 / 0.7757 GB, free: 6.348 MB / 0.5105 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.000484/0.5753, allocations: 371.1 kB / 0.7761 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.5754, allocations: 15.36 kB / 0.7761 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.5755, allocations: 8.406 kB / 0.7761 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.5756, allocations: 162.8 kB / 0.7762 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5757, allocations: 6.781 kB / 0.7762 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.5757, allocations: 2.875 kB / 0.7762 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5759, allocations: 66.53 kB / 0.7763 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5759, allocations: 0 / 0.7763 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5759, allocations: 0 / 0.7763 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5759, allocations: 2.781 kB / 0.7763 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.576, allocations: 25.28 kB / 0.7763 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.5761, allocations: 165.1 kB / 0.7765 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.5762, allocations: 50.91 kB / 0.7765 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.5763, allocations: 20.38 kB / 0.7766 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.5872, allocations: 3.166 MB / 0.7797 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5873, allocations: 37.31 kB / 0.7797 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.5873, allocations: 0 / 0.7797 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.04266/0.6299, allocations: 14.87 MB / 0.7942 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.63, allocations: 51.41 kB / 0.7943 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.6301, allocations: 89.86 kB / 0.7943 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6301, allocations: 29.7 kB / 0.7944 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.6301, allocations: 84.14 kB / 0.7945 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.6302, allocations: 39.44 kB / 0.7945 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.6302, allocations: 33.83 kB / 0.7945 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6303, allocations: 318.8 kB / 0.7948 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.6304, allocations: 23.98 kB / 0.7948 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.6305, allocations: 24.92 kB / 0.7949 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.6306, allocations: 71.05 kB / 0.7949 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6306, allocations: 0 / 0.7949 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002113/0.6308, allocations: 105.5 kB / 0.795 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6308, allocations: 8 kB / 0.795 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6309, allocations: 0 / 0.795 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6309, allocations: 0 / 0.795 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.631, allocations: 31.98 kB / 0.7951 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.631, allocations: 0 / 0.7951 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.631, allocations: 3.75 kB / 0.7951 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.6311, allocations: 4 kB / 0.7951 GB, free: 3.988 MB / 0.5261 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.666e-05/0.6312, allocations: 130.9 kB / 0.7952 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.6312, allocations: 7.984 kB / 0.7952 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.6316, allocations: 117.6 kB / 0.7953 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6316, allocations: 7.984 kB / 0.7953 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6316, allocations: 0 / 0.7953 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6316, allocations: 0 / 0.7953 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6318, allocations: 177.6 kB / 0.7955 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6318, allocations: 0 / 0.7955 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.6319, allocations: 27.92 kB / 0.7955 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6319, allocations: 0 / 0.7955 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6319, allocations: 12 kB / 0.7955 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6319, allocations: 0 / 0.7955 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6319, allocations: 0 / 0.7955 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9809/1.613, allocations: 174.9 MB / 0.9663 GB, free: 187 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/1.613, allocations: 88.27 kB / 0.9664 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/1.613, allocations: 5.516 kB / 0.9664 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/1.613, allocations: 10.89 kB / 0.9664 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/1.613, allocations: 6.578 kB / 0.9664 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/1.613, allocations: 12.75 kB / 0.9664 GB, free: 186.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.375e-05/1.613, allocations: 76.98 kB / 0.9665 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.613, allocations: 0 / 0.9665 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001911/1.615, allocations: 0.6149 MB / 0.9671 GB, free: 186.8 MB / 0.6823 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.003083/1.618, allocations: 423.8 kB / 0.9675 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002188/1.618, allocations: 64.58 kB / 0.9676 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.618, allocations: 0 / 0.9676 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/1.619, allocations: 37.67 kB / 0.9676 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.619, allocations: 13.12 kB / 0.9676 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/1.619, allocations: 488 kB / 0.9681 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/1.62, allocations: 0.6928 MB / 0.9688 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001079/1.62, allocations: 31.02 kB / 0.9688 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/1.62, allocations: 16.12 kB / 0.9688 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.62, allocations: 0 / 0.9688 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03639/1.656, allocations: 24.74 MB / 0.993 GB, free: 185 MB / 0.6823 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)