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.005933/0.005933, allocations: 99.11 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.001089/0.001089, allocations: 202 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9867/0.9867, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.14 kB / 0.5856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5154, allocations: 80.92 MB / 0.6646 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002074/0.5175, allocations: 1.262 MB / 0.6658 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.6626, allocations: 137.7 MB / 0.8003 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.6626, allocations: 0 / 0.8003 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.6627, allocations: 0 / 0.8003 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.6628, allocations: 7.922 kB / 0.8004 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.6641, allocations: 466.3 kB / 0.8008 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.324e-05/0.6642, allocations: 39.89 kB / 0.8008 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.6643, allocations: 8 kB / 0.8008 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.6643, allocations: 19.86 kB / 0.8009 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.6644, allocations: 19.97 kB / 0.8009 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.6644, allocations: 4 kB / 0.8009 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.6661, allocations: 0.831 MB / 0.8017 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.6661, allocations: 3.938 kB / 0.8017 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.6661, allocations: 23.91 kB / 0.8017 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.667, allocations: 444.5 kB / 0.8021 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.667, allocations: 0 / 0.8021 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.823e-06/0.667, allocations: 4 kB / 0.8022 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.667, allocations: 4 kB / 0.8022 GB, free: 4.316 MB / 0.6231 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.0006442/0.6677, allocations: 373.2 kB / 0.8025 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6677, allocations: 12.03 kB / 0.8025 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.6679, allocations: 16.88 kB / 0.8025 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6681, allocations: 164.3 kB / 0.8027 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6681, allocations: 4.375 kB / 0.8027 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.6681, allocations: 8.125 kB / 0.8027 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6683, allocations: 57.66 kB / 0.8028 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6683, allocations: 4 kB / 0.8028 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.6683, allocations: 4 kB / 0.8028 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6683, allocations: 3.938 kB / 0.8028 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.6684, allocations: 15.98 kB / 0.8028 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.6686, allocations: 169.6 kB / 0.803 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.6688, allocations: 50.56 kB / 0.803 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.6688, allocations: 20.8 kB / 0.803 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.68, allocations: 3.201 MB / 0.8061 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.6801, allocations: 34.56 kB / 0.8062 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.6801, allocations: 3.938 kB / 0.8062 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0421/0.7222, allocations: 14.99 MB / 0.8208 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7223, allocations: 51.41 kB / 0.8209 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.7224, allocations: 97.84 kB / 0.821 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7224, allocations: 29.7 kB / 0.821 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.7224, allocations: 80.14 kB / 0.8211 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.7225, allocations: 39.67 kB / 0.8211 GB, free: 476 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.7226, allocations: 33.72 kB / 0.8211 GB, free: 436 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7227, allocations: 322.9 kB / 0.8214 GB, free: 104 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.7228, allocations: 23.98 kB / 0.8215 GB, free: 80 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.7228, allocations: 27.38 kB / 0.8215 GB, free: 56 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.723, allocations: 56.92 kB / 0.8216 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.723, allocations: 3.938 kB / 0.8216 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002191/0.7232, allocations: 109.6 kB / 0.8217 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7232, allocations: 4 kB / 0.8217 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7232, allocations: 0 / 0.8217 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7233, allocations: 3.984 kB / 0.8217 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7234, allocations: 31.94 kB / 0.8217 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.7234, allocations: 0 / 0.8217 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.7234, allocations: 4 kB / 0.8217 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7235, allocations: 7.984 kB / 0.8217 GB, free: 15.82 MB / 0.6544 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.198e-05/0.7236, allocations: 121.7 kB / 0.8218 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.7236, allocations: 7.953 kB / 0.8218 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.7239, allocations: 129.5 kB / 0.822 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7239, allocations: 0 / 0.822 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7239, allocations: 0 / 0.822 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7239, allocations: 0 / 0.822 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.7241, allocations: 173.6 kB / 0.8221 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7241, allocations: 0 / 0.8221 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.7242, allocations: 31.92 kB / 0.8222 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7242, allocations: 3.984 kB / 0.8222 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7242, allocations: 4 kB / 0.8222 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7242, allocations: 0 / 0.8222 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7243, allocations: 4 kB / 0.8222 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.7246, allocations: 156.9 kB / 0.8223 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.7246, allocations: 85.14 kB / 0.8224 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7247, allocations: 7.938 kB / 0.8224 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.7248, allocations: 11.98 kB / 0.8224 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.7249, allocations: 11.98 kB / 0.8224 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.7249, allocations: 8 kB / 0.8224 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.599e-05/0.7249, allocations: 79.28 kB / 0.8225 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7249, allocations: 3.938 kB / 0.8225 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001716/0.7266, allocations: 0.5661 MB / 0.8231 GB, free: 14.33 MB / 0.6544 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.002992/0.7296, allocations: 360 kB / 0.8234 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.7299, allocations: 59.98 kB / 0.8235 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7299, allocations: 0 / 0.8235 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.73, allocations: 39.92 kB / 0.8235 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.7302, allocations: 15.94 kB / 0.8235 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.7308, allocations: 345.5 kB / 0.8238 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7312, allocations: 0.6846 MB / 0.8245 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.946e-05/0.7313, allocations: 20.55 kB / 0.8245 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.7313, allocations: 23.42 kB / 0.8246 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7313, allocations: 0 / 0.8246 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.0396/0.7709, allocations: 24.26 MB / 0.8482 GB, free: 4.449 MB / 0.67 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)