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.001497/0.001497, allocations: 109 kB / 16.41 MB, free: 6.457 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.001698/0.001698, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 68.86 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1248, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002124/0.1269, allocations: 1.254 MB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4184/0.5454, allocations: 137.7 MB / 0.796 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.5454, allocations: 0 / 0.796 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.5455, allocations: 3.938 kB / 0.796 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.5456, allocations: 6.641 kB / 0.796 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.547, allocations: 467.8 kB / 0.7965 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.5471, allocations: 41.03 kB / 0.7965 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.5472, allocations: 4.797 kB / 0.7965 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.5472, allocations: 24.02 kB / 0.7966 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.5473, allocations: 20.91 kB / 0.7966 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.5473, allocations: 2.531 kB / 0.7966 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.5489, allocations: 0.8321 MB / 0.7974 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.5489, allocations: 6.172 kB / 0.7974 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.5489, allocations: 17.8 kB / 0.7974 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.5496, allocations: 454.5 kB / 0.7978 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5496, allocations: 0 / 0.7978 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5496, allocations: 1.531 kB / 0.7978 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.5496, allocations: 4 kB / 0.7978 GB, free: 13.31 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.000532/0.5502, allocations: 365.1 kB / 0.7982 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5502, allocations: 8.812 kB / 0.7982 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.5504, allocations: 15.25 kB / 0.7982 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.312e-05/0.5505, allocations: 168 kB / 0.7984 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.5505, allocations: 5.281 kB / 0.7984 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5505, allocations: 3.656 kB / 0.7984 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5507, allocations: 60.41 kB / 0.7984 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5507, allocations: 4 kB / 0.7985 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5507, allocations: 1.031 kB / 0.7985 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5507, allocations: 1.062 kB / 0.7985 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.5508, allocations: 21.17 kB / 0.7985 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.5509, allocations: 165.8 kB / 0.7986 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.5511, allocations: 47.11 kB / 0.7987 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.5511, allocations: 25.25 kB / 0.7987 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.5627, allocations: 3.208 MB / 0.8018 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.5627, allocations: 35.77 kB / 0.8019 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5627, allocations: 0 / 0.8019 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04065/0.6034, allocations: 15 MB / 0.8165 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6034, allocations: 51.41 kB / 0.8166 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.6035, allocations: 96.33 kB / 0.8167 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.6035, allocations: 25.7 kB / 0.8167 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.6036, allocations: 80.14 kB / 0.8168 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.6036, allocations: 49.89 kB / 0.8168 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.6037, allocations: 33.55 kB / 0.8168 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6038, allocations: 317.4 kB / 0.8171 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.6038, allocations: 23.05 kB / 0.8172 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.6039, allocations: 26.39 kB / 0.8172 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.604, allocations: 68.64 kB / 0.8173 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.604, allocations: 3.938 kB / 0.8173 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002016/0.6042, allocations: 99.67 kB / 0.8174 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6042, allocations: 7.344 kB / 0.8174 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6042, allocations: 0 / 0.8174 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.6043, allocations: 0 / 0.8174 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.6044, allocations: 30.7 kB / 0.8174 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.6044, allocations: 7.938 kB / 0.8174 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.6044, allocations: 2.219 kB / 0.8174 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.6044, allocations: 2.906 kB / 0.8174 GB, free: 6.453 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.134e-05/0.6045, allocations: 119.4 kB / 0.8175 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.6046, allocations: 6 kB / 0.8175 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.6048, allocations: 124.2 kB / 0.8176 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6048, allocations: 3.984 kB / 0.8176 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6049, allocations: 3.938 kB / 0.8176 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.6049, allocations: 89.75 kB / 0.8177 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.605, allocations: 5.312 kB / 0.8177 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.6051, allocations: 11.73 kB / 0.8177 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.6051, allocations: 12.53 kB / 0.8178 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002633/0.6054, allocations: 184.4 kB / 0.8179 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003165/0.6057, allocations: 309.8 kB / 0.8182 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.227e-05/0.6058, allocations: 31.94 kB / 0.8183 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.6058, allocations: 81.34 kB / 0.8183 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of Backend: time 3.3e-07/0.6058, allocations: 0 / 0.8183 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.6096, allocations: 393.4 kB / 0.8187 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0007826/0.6103, allocations: 0.7656 MB / 0.8195 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of Templates: time 0.03115/0.6415, allocations: 24.65 MB / 0.8435 GB, free: 13.25 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)