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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 180.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6886/0.6886, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 404.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 119.5 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001057, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1566, allocations: 80.43 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002656/0.1593, allocations: 1.313 MB / 0.6434 GB, free: 4.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4703/0.6296, allocations: 135.7 MB / 0.7759 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.6298, allocations: 2.906 kB / 0.776 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.6298, allocations: 0 / 0.776 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.6299, allocations: 3.984 kB / 0.776 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.6311, allocations: 379 kB / 0.7763 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.6312, allocations: 39.44 kB / 0.7764 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.6312, allocations: 2.906 kB / 0.7764 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.6313, allocations: 26.03 kB / 0.7764 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.6314, allocations: 19.61 kB / 0.7764 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.6314, allocations: 1.875 kB / 0.7764 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.6328, allocations: 0.8143 MB / 0.7772 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.6328, allocations: 13.27 kB / 0.7772 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.6329, allocations: 22.8 kB / 0.7772 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.6335, allocations: 452.5 kB / 0.7777 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6335, allocations: 0 / 0.7777 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6335, allocations: 0 / 0.7777 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6335, allocations: 2.188 kB / 0.7777 GB, free: 4.66 MB / 0.5105 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.0005838/0.6341, allocations: 369.7 kB / 0.778 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.6342, allocations: 10.16 kB / 0.778 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.6344, allocations: 8.438 kB / 0.778 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6345, allocations: 168.3 kB / 0.7782 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.6346, allocations: 10.36 kB / 0.7782 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.6346, allocations: 7.031 kB / 0.7782 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.6348, allocations: 64.8 kB / 0.7783 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6348, allocations: 1.562 kB / 0.7783 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6348, allocations: 2.531 kB / 0.7783 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6348, allocations: 0 / 0.7783 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.6349, allocations: 18.27 kB / 0.7783 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.6351, allocations: 160.3 kB / 0.7784 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.6352, allocations: 61.08 kB / 0.7785 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.6352, allocations: 17.11 kB / 0.7785 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.6462, allocations: 3.171 MB / 0.7816 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.6463, allocations: 38.5 kB / 0.7817 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.6463, allocations: 4 kB / 0.7817 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.04212/0.6885, allocations: 14.86 MB / 0.7962 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.6885, allocations: 55.41 kB / 0.7962 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.6886, allocations: 97.84 kB / 0.7963 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6886, allocations: 25.7 kB / 0.7963 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.6887, allocations: 84.27 kB / 0.7964 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.6887, allocations: 43.45 kB / 0.7965 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.6888, allocations: 25.72 kB / 0.7965 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6889, allocations: 318.8 kB / 0.7968 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.6889, allocations: 23.98 kB / 0.7968 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/0.689, allocations: 20.75 kB / 0.7968 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.6891, allocations: 74.34 kB / 0.7969 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.6891, allocations: 0 / 0.7969 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002038/0.6893, allocations: 101.6 kB / 0.797 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6894, allocations: 8 kB / 0.797 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6894, allocations: 3.984 kB / 0.797 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6894, allocations: 4 kB / 0.797 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.6895, allocations: 23.94 kB / 0.797 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6895, allocations: 0 / 0.797 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.6896, allocations: 4 kB / 0.797 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.6896, allocations: 7.984 kB / 0.797 GB, free: 2.047 MB / 0.5261 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.898e-05/0.6897, allocations: 121.7 kB / 0.7972 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.6897, allocations: 0 / 0.7972 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.69, allocations: 137.4 kB / 0.7973 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.69, allocations: 0 / 0.7973 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.69, allocations: 0 / 0.7973 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.69, allocations: 4 kB / 0.7973 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.6902, allocations: 181.6 kB / 0.7975 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6902, allocations: 4 kB / 0.7975 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6903, allocations: 23.98 kB / 0.7975 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6903, allocations: 0 / 0.7975 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6903, allocations: 4 kB / 0.7975 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.6903, allocations: 0 / 0.7975 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6903, allocations: 3.938 kB / 0.7975 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.036/1.727, allocations: 174.9 MB / 0.9683 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/1.727, allocations: 91.98 kB / 0.9684 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/1.727, allocations: 9.156 kB / 0.9684 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/1.727, allocations: 14.42 kB / 0.9684 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/1.727, allocations: 7.234 kB / 0.9684 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.727, allocations: 11.97 kB / 0.9684 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.133e-05/1.727, allocations: 75.28 kB / 0.9685 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.727, allocations: 0 / 0.9685 GB, free: 187.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002459/1.729, allocations: 0.6153 MB / 0.9691 GB, free: 187.1 MB / 0.6823 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.003409/1.733, allocations: 425.8 kB / 0.9695 GB, free: 187 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003346/1.733, allocations: 66.66 kB / 0.9696 GB, free: 187 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.733, allocations: 0.5625 kB / 0.9696 GB, free: 187 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/1.733, allocations: 35.61 kB / 0.9696 GB, free: 187 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/1.734, allocations: 13.31 kB / 0.9696 GB, free: 187 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/1.734, allocations: 486.3 kB / 0.9701 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/1.734, allocations: 0.6913 MB / 0.9707 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001147/1.735, allocations: 32.06 kB / 0.9708 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/1.735, allocations: 18.72 kB / 0.9708 GB, free: 186 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/1.735, allocations: 0 / 0.9708 GB, free: 186 MB / 0.6823 GB Notification: Performance of Templates: time 0.0403/1.775, allocations: 24.74 MB / 0.995 GB, free: 185.3 MB / 0.6823 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)