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.001287/0.001287, allocations: 105.9 kB / 16.41 MB, free: 6.449 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.001265/0.001265, allocations: 185.7 kB / 17.34 MB, free: 5.715 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8565/0.8565, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 69.47 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1531, allocations: 80.93 MB / 0.6653 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002388/0.1555, allocations: 1.253 MB / 0.6666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5674/0.7228, allocations: 138.1 MB / 0.8014 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.7229, allocations: 0 / 0.8014 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.7229, allocations: 3.891 kB / 0.8014 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.723, allocations: 3.938 kB / 0.8014 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.7244, allocations: 476.4 kB / 0.8019 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.7245, allocations: 33.58 kB / 0.8019 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.7245, allocations: 5.422 kB / 0.8019 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.7246, allocations: 19.66 kB / 0.802 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.7247, allocations: 19.16 kB / 0.802 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.7247, allocations: 1.781 kB / 0.802 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.7261, allocations: 0.834 MB / 0.8028 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.7261, allocations: 10.09 kB / 0.8028 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.7262, allocations: 20.28 kB / 0.8028 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.7267, allocations: 441.7 kB / 0.8032 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7267, allocations: 5.438 kB / 0.8032 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7268, allocations: 0 / 0.8032 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.7268, allocations: 0 / 0.8032 GB, free: 12.37 MB / 0.5919 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.0006092/0.7274, allocations: 373.6 kB / 0.8036 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7274, allocations: 10.36 kB / 0.8036 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.7276, allocations: 14.59 kB / 0.8036 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.7278, allocations: 166.2 kB / 0.8038 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.7278, allocations: 1.531 kB / 0.8038 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.7278, allocations: 18.36 kB / 0.8038 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.728, allocations: 59.38 kB / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.728, allocations: 1.406 kB / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.728, allocations: 0 / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.728, allocations: 1.469 kB / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.728, allocations: 18.16 kB / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.7283, allocations: 171 kB / 0.804 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.7284, allocations: 49.34 kB / 0.8041 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.7284, allocations: 24.7 kB / 0.8041 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.7398, allocations: 3.204 MB / 0.8072 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.7398, allocations: 33.97 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.7398, allocations: 1.969 kB / 0.8073 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03936/0.7792, allocations: 15.01 MB / 0.8219 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.7792, allocations: 55.34 kB / 0.822 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.7793, allocations: 92.61 kB / 0.8221 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.7793, allocations: 29.02 kB / 0.8221 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.7794, allocations: 80.14 kB / 0.8222 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7795, allocations: 38.53 kB / 0.8222 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.7795, allocations: 38.45 kB / 0.8222 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7796, allocations: 316.5 kB / 0.8226 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.7797, allocations: 23.52 kB / 0.8226 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.7797, allocations: 23.42 kB / 0.8226 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.7799, allocations: 63.23 kB / 0.8227 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.7799, allocations: 0 / 0.8227 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002184/0.7801, allocations: 107.7 kB / 0.8228 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7801, allocations: 9.625 kB / 0.8228 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7801, allocations: 3.5 kB / 0.8228 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7801, allocations: 4 kB / 0.8228 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7802, allocations: 27.39 kB / 0.8228 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.7802, allocations: 3.984 kB / 0.8228 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.7803, allocations: 2.781 kB / 0.8228 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7803, allocations: 5.781 kB / 0.8228 GB, free: 5.035 MB / 0.5919 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.851e-05/0.7804, allocations: 115.6 kB / 0.8229 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.7804, allocations: 4.656 kB / 0.8229 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.7807, allocations: 137.8 kB / 0.8231 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7807, allocations: 2.562 kB / 0.8231 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.7807, allocations: 0 / 0.8231 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.7807, allocations: 3.984 kB / 0.8231 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7809, allocations: 175.4 kB / 0.8232 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7809, allocations: 3.984 kB / 0.8232 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.781, allocations: 23.84 kB / 0.8233 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.781, allocations: 0 / 0.8233 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.781, allocations: 10.77 kB / 0.8233 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.781, allocations: 0 / 0.8233 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.781, allocations: 0 / 0.8233 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.7813, allocations: 155.4 kB / 0.8234 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.7814, allocations: 93.69 kB / 0.8235 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.7814, allocations: 0 / 0.8235 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.7816, allocations: 15.31 kB / 0.8235 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.7816, allocations: 8.328 kB / 0.8235 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.7816, allocations: 9.312 kB / 0.8235 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.7816, allocations: 75.28 kB / 0.8236 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7816, allocations: 0 / 0.8236 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001865/0.7835, allocations: 0.5668 MB / 0.8242 GB, free: 4.168 MB / 0.5919 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.00313/0.7866, allocations: 360.7 kB / 0.8245 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.7869, allocations: 65.66 kB / 0.8246 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.7869, allocations: 4 kB / 0.8246 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/0.7869, allocations: 34.8 kB / 0.8246 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.7871, allocations: 11.06 kB / 0.8246 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.7878, allocations: 369.8 kB / 0.825 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.7882, allocations: 0.6846 MB / 0.8256 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.7882, allocations: 19.42 kB / 0.8257 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.7882, allocations: 0 / 0.8257 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of Templates: time 0.02522/0.8134, allocations: 14.34 MB / 0.8397 GB, free: 4.309 MB / 0.6075 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)