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.005235/0.005235, allocations: 98.77 kB / 15.73 MB, free: 6.051 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.001184/0.001184, allocations: 196.2 kB / 16.68 MB, free: 5.965 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8085/0.8085, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 68.36 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1679, allocations: 80.21 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002821/0.1708, allocations: 1.256 MB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.584/0.7548, allocations: 137.7 MB / 0.7954 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.7549, allocations: 1.5 kB / 0.7954 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.7549, allocations: 6.516 kB / 0.7954 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.755, allocations: 3.938 kB / 0.7954 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.7564, allocations: 464.6 kB / 0.7958 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.7565, allocations: 39.78 kB / 0.7959 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.7566, allocations: 10.06 kB / 0.7959 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.7566, allocations: 23.25 kB / 0.7959 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.7567, allocations: 18.34 kB / 0.7959 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.7567, allocations: 1.25 kB / 0.7959 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.7583, allocations: 0.8321 MB / 0.7967 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.7583, allocations: 7.938 kB / 0.7967 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.7584, allocations: 19.83 kB / 0.7967 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.759, allocations: 447.8 kB / 0.7972 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.759, allocations: 0 / 0.7972 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.759, allocations: 1.531 kB / 0.7972 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.759, allocations: 0 / 0.7972 GB, free: 13.36 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.0005509/0.7596, allocations: 374.3 kB / 0.7975 GB, free: 13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7596, allocations: 9.75 kB / 0.7975 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.7598, allocations: 14.22 kB / 0.7976 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.76, allocations: 168 kB / 0.7977 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.76, allocations: 6.25 kB / 0.7977 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.76, allocations: 8.375 kB / 0.7977 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.7602, allocations: 55.14 kB / 0.7978 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.7602, allocations: 1.031 kB / 0.7978 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7602, allocations: 1.062 kB / 0.7978 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7602, allocations: 0 / 0.7978 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.7603, allocations: 23.17 kB / 0.7978 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.7605, allocations: 161.9 kB / 0.798 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7606, allocations: 58.66 kB / 0.798 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.7607, allocations: 18.77 kB / 0.798 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.7722, allocations: 3.209 MB / 0.8012 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.892e-05/0.7723, allocations: 39.28 kB / 0.8012 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.7724, allocations: 0 / 0.8012 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04128/0.8136, allocations: 15 MB / 0.8159 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.8137, allocations: 51.41 kB / 0.8159 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.8138, allocations: 96.45 kB / 0.816 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8138, allocations: 35.23 kB / 0.816 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.8139, allocations: 80.14 kB / 0.8161 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.8139, allocations: 47.7 kB / 0.8161 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.814, allocations: 30.66 kB / 0.8162 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8141, allocations: 318 kB / 0.8165 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.8141, allocations: 23.58 kB / 0.8165 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.8142, allocations: 24.84 kB / 0.8165 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.8143, allocations: 67.69 kB / 0.8166 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.8143, allocations: 0 / 0.8166 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000202/0.8145, allocations: 102.9 kB / 0.8167 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8146, allocations: 5.062 kB / 0.8167 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8146, allocations: 0 / 0.8167 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8146, allocations: 2.625 kB / 0.8167 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.8147, allocations: 23.88 kB / 0.8167 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.8147, allocations: 3.984 kB / 0.8167 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.8148, allocations: 3.562 kB / 0.8167 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.8148, allocations: 8.469 kB / 0.8167 GB, free: 6.48 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 8.211e-05/0.8149, allocations: 116.1 kB / 0.8168 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.8149, allocations: 6.75 kB / 0.8169 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.8152, allocations: 122.9 kB / 0.817 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8152, allocations: 6.844 kB / 0.817 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8152, allocations: 4 kB / 0.817 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8152, allocations: 0 / 0.817 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.8154, allocations: 179 kB / 0.8172 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8154, allocations: 0 / 0.8172 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.8155, allocations: 26.64 kB / 0.8172 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8155, allocations: 0 / 0.8172 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.8156, allocations: 6.562 kB / 0.8172 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8156, allocations: 0 / 0.8172 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8156, allocations: 0 / 0.8172 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.8159, allocations: 165.6 kB / 0.8173 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.816, allocations: 90.52 kB / 0.8174 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.816, allocations: 3.688 kB / 0.8174 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8162, allocations: 14.08 kB / 0.8174 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.8162, allocations: 6.516 kB / 0.8174 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.8162, allocations: 11.31 kB / 0.8175 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.8162, allocations: 79.28 kB / 0.8175 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8163, allocations: 0 / 0.8175 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002207/0.8185, allocations: 0.5658 MB / 0.8181 GB, free: 5.781 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.002919/0.8214, allocations: 352.1 kB / 0.8184 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.8216, allocations: 67.98 kB / 0.8185 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8216, allocations: 0 / 0.8185 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.935e-05/0.8217, allocations: 37.67 kB / 0.8185 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.8219, allocations: 16.7 kB / 0.8185 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.8225, allocations: 342.7 kB / 0.8189 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.8228, allocations: 0.6894 MB / 0.8195 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.8228, allocations: 24.53 kB / 0.8196 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.8229, allocations: 17.59 kB / 0.8196 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.8229, allocations: 2.531 kB / 0.8196 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of Templates: time 0.03709/0.86, allocations: 24.26 MB / 0.8433 GB, free: 12.84 MB / 0.6231 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)