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.001309/0.001309, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.00113/0.00113, allocations: 187 kB / 17.34 MB, free: 5.754 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.365/1.365, allocations: 222.9 MB / 241 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.8034/0.8034, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.62 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1316, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002206/0.1339, allocations: 1.254 MB / 0.6615 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4869/0.6208, allocations: 137.7 MB / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.6209, allocations: 1 kB / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.6209, allocations: 0 / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.621, allocations: 14.33 kB / 0.796 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.6223, allocations: 453.5 kB / 0.7965 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.6224, allocations: 40.33 kB / 0.7965 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.6225, allocations: 4.516 kB / 0.7965 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.6225, allocations: 24.61 kB / 0.7965 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.6226, allocations: 20.66 kB / 0.7966 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.6226, allocations: 10.34 kB / 0.7966 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.624, allocations: 0.8223 MB / 0.7974 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.6241, allocations: 13.42 kB / 0.7974 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.6241, allocations: 16.48 kB / 0.7974 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.6247, allocations: 453.2 kB / 0.7978 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.6247, allocations: 1.219 kB / 0.7978 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6247, allocations: 3.938 kB / 0.7978 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6247, allocations: 0 / 0.7978 GB, free: 12.86 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.0004846/0.6252, allocations: 366 kB / 0.7982 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6253, allocations: 9.562 kB / 0.7982 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.6254, allocations: 14.5 kB / 0.7982 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.6256, allocations: 165.6 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6256, allocations: 4.719 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.6256, allocations: 6.547 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.6258, allocations: 56.64 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.6258, allocations: 1.062 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.6258, allocations: 3.75 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6258, allocations: 1.188 kB / 0.7984 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.6259, allocations: 22.11 kB / 0.7985 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.626, allocations: 165.8 kB / 0.7986 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.6262, allocations: 51.16 kB / 0.7987 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.6262, allocations: 19.3 kB / 0.7987 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.6369, allocations: 3.21 MB / 0.8018 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.6369, allocations: 35.59 kB / 0.8019 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.6369, allocations: 0 / 0.8019 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04636/0.6833, allocations: 15 MB / 0.8165 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.6834, allocations: 54.31 kB / 0.8165 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.6835, allocations: 97.22 kB / 0.8166 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.6835, allocations: 28.45 kB / 0.8167 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.6836, allocations: 87.58 kB / 0.8168 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.6837, allocations: 45.66 kB / 0.8168 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.6837, allocations: 30.69 kB / 0.8168 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6839, allocations: 322.3 kB / 0.8171 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.684, allocations: 17.78 kB / 0.8171 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.6841, allocations: 27.02 kB / 0.8172 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6842, allocations: 70.97 kB / 0.8172 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.6842, allocations: 0 / 0.8172 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003012/0.6845, allocations: 103.5 kB / 0.8173 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6846, allocations: 4.5 kB / 0.8173 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6846, allocations: 0 / 0.8173 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.6846, allocations: 2.781 kB / 0.8173 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.6848, allocations: 25.05 kB / 0.8174 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6848, allocations: 1.781 kB / 0.8174 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.6848, allocations: 0 / 0.8174 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.6849, allocations: 9.562 kB / 0.8174 GB, free: 6.027 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 0.000138/0.685, allocations: 123.2 kB / 0.8175 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.6851, allocations: 10.47 kB / 0.8175 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.6855, allocations: 126.5 kB / 0.8176 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6855, allocations: 3.984 kB / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6855, allocations: 2.094 kB / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6855, allocations: 0 / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.6857, allocations: 183.2 kB / 0.8178 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6857, allocations: 4 kB / 0.8178 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6859, allocations: 24.67 kB / 0.8178 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.6859, allocations: 6.688 kB / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.6859, allocations: 0 / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.6859, allocations: 2.094 kB / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.686, allocations: 0 / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.6864, allocations: 151.2 kB / 0.818 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.6865, allocations: 89.55 kB / 0.8181 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.6865, allocations: 3.938 kB / 0.8181 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.6866, allocations: 19.14 kB / 0.8181 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.6867, allocations: 9.047 kB / 0.8181 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.6867, allocations: 8.531 kB / 0.8181 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.6867, allocations: 75.28 kB / 0.8182 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6867, allocations: 0 / 0.8182 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00203/0.6888, allocations: 0.5651 MB / 0.8187 GB, free: 5.324 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.003753/0.6925, allocations: 348.8 kB / 0.8191 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.6927, allocations: 74.94 kB / 0.8191 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.6928, allocations: 0 / 0.8191 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.6928, allocations: 35.17 kB / 0.8192 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.693, allocations: 16.03 kB / 0.8192 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.6937, allocations: 374.4 kB / 0.8195 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.694, allocations: 0.6898 MB / 0.8202 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.6941, allocations: 17.47 kB / 0.8202 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6941, allocations: 4 kB / 0.8202 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of Templates: time 0.02257/0.7166, allocations: 14.35 MB / 0.8343 GB, free: 6.266 MB / 0.6075 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)