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.001117/0.001117, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001194/0.001194, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 70.27 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002185/0.1309, allocations: 1.264 MB / 0.6615 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4216/0.5525, allocations: 137.7 MB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.5526, allocations: 0 / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.5526, allocations: 1.875 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.5527, allocations: 8.203 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.5538, allocations: 465.8 kB / 0.7965 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.5539, allocations: 39.58 kB / 0.7965 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.5539, allocations: 8.953 kB / 0.7965 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.554, allocations: 23.7 kB / 0.7966 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.554, allocations: 21.42 kB / 0.7966 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.554, allocations: 2.531 kB / 0.7966 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5554, allocations: 0.8234 MB / 0.7974 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.5554, allocations: 10.94 kB / 0.7974 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.5555, allocations: 17.44 kB / 0.7974 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.556, allocations: 450.7 kB / 0.7978 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.556, allocations: 3.25 kB / 0.7978 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5561, allocations: 1.094 kB / 0.7978 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.5561, allocations: 4 kB / 0.7979 GB, free: 12.84 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.0004333/0.5565, allocations: 373.7 kB / 0.7982 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5565, allocations: 14.41 kB / 0.7982 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.5567, allocations: 10.84 kB / 0.7982 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.5568, allocations: 163.3 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.5568, allocations: 4.656 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.5569, allocations: 4.625 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.557, allocations: 55.59 kB / 0.7984 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.557, allocations: 4 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.557, allocations: 0.9062 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.557, allocations: 1.531 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.5571, allocations: 19 kB / 0.7985 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.5573, allocations: 176.7 kB / 0.7986 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.5574, allocations: 51.91 kB / 0.7987 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.5574, allocations: 21.58 kB / 0.7987 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.5677, allocations: 3.206 MB / 0.8018 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5678, allocations: 34.19 kB / 0.8019 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.5678, allocations: 6.625 kB / 0.8019 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03819/0.606, allocations: 14.99 MB / 0.8165 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.606, allocations: 55.34 kB / 0.8166 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.6061, allocations: 95.89 kB / 0.8167 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6061, allocations: 29.69 kB / 0.8167 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.6061, allocations: 80.14 kB / 0.8168 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.6062, allocations: 37.44 kB / 0.8168 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.6062, allocations: 34.36 kB / 0.8168 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.6063, allocations: 321.9 kB / 0.8171 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.6064, allocations: 19.81 kB / 0.8172 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.021e-05/0.6064, allocations: 30.05 kB / 0.8172 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.6065, allocations: 57.06 kB / 0.8172 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6066, allocations: 3.938 kB / 0.8173 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002095/0.6068, allocations: 111.2 kB / 0.8174 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6068, allocations: 6.688 kB / 0.8174 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6068, allocations: 3.938 kB / 0.8174 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6068, allocations: 0 / 0.8174 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.6069, allocations: 27.55 kB / 0.8174 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.607, allocations: 4 kB / 0.8174 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.607, allocations: 5.125 kB / 0.8174 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.607, allocations: 3.188 kB / 0.8174 GB, free: 6.008 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 7.819e-05/0.6071, allocations: 119.4 kB / 0.8175 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.6071, allocations: 10.25 kB / 0.8175 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.6074, allocations: 129.9 kB / 0.8177 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6074, allocations: 6.719 kB / 0.8177 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6074, allocations: 0 / 0.8177 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.6075, allocations: 83.19 kB / 0.8177 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6075, allocations: 6 kB / 0.8177 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.6077, allocations: 11.8 kB / 0.8178 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.6077, allocations: 13.95 kB / 0.8178 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002688/0.608, allocations: 193.4 kB / 0.818 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003202/0.6083, allocations: 304.2 kB / 0.8182 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.561e-05/0.6084, allocations: 35.14 kB / 0.8183 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.6084, allocations: 78.84 kB / 0.8184 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of Backend: time 4.51e-07/0.6084, allocations: 2.656 kB / 0.8184 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.612, allocations: 391.4 kB / 0.8187 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0006522/0.6127, allocations: 0.7698 MB / 0.8195 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.03158/0.6443, allocations: 24.66 MB / 0.8436 GB, free: 12.74 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)