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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01175/0.01175, allocations: 170.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.796/0.796, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.761/1.761, allocations: 223.2 MB / 403.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 100.2 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5128, allocations: 81.58 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.828, allocations: 418.9 MB / 1.053 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.828, allocations: 74.27 kB / 1.053 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08534/1.914, allocations: 36.81 MB / 1.089 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.362e-06/1.914, allocations: 0 / 1.089 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.914, allocations: 3.812 kB / 1.089 GB, free: 162.2 MB / 0.6823 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.0005898/1.914, allocations: 372 kB / 1.089 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.914, allocations: 11.56 kB / 1.089 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/1.915, allocations: 23.23 kB / 1.089 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/1.915, allocations: 159.1 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.915, allocations: 3.812 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/1.915, allocations: 11.75 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/1.915, allocations: 55.22 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.915, allocations: 3.938 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.915, allocations: 0 / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/1.915, allocations: 3.969 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/1.915, allocations: 19.31 kB / 1.089 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/1.915, allocations: 164.6 kB / 1.09 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/1.915, allocations: 60.33 kB / 1.09 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008963/1.924, allocations: 3.123 MB / 1.093 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.924, allocations: 34.47 kB / 1.093 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.924, allocations: 0 / 1.093 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02675/1.951, allocations: 13.45 MB / 1.106 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/1.951, allocations: 59.22 kB / 1.106 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/1.951, allocations: 85 kB / 1.106 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.951, allocations: 29.08 kB / 1.106 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.594e-05/1.951, allocations: 80.14 kB / 1.106 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/1.951, allocations: 45.59 kB / 1.106 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.951, allocations: 128 / 1.106 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.164e-05/1.951, allocations: 318.3 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/1.952, allocations: 22.31 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/1.952, allocations: 23.09 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/1.952, allocations: 26.28 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/1.952, allocations: 0 / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001852/1.952, allocations: 105 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.952, allocations: 3.875 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.952, allocations: 0 / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.952, allocations: 0 / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.952, allocations: 34.73 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.952, allocations: 3.953 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/1.952, allocations: 3.75 kB / 1.107 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.952, allocations: 3.75 kB / 1.107 GB, free: 158.6 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/1.952, allocations: 117.3 kB / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/1.952, allocations: 3.906 kB / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/1.952, allocations: 136.7 kB / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.952, allocations: 0 / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.952, allocations: 0 / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.952, allocations: 3.953 kB / 1.107 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/1.953, allocations: 178.1 kB / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.953, allocations: 0 / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.953, allocations: 22.52 kB / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.953, allocations: 7.984 kB / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/1.953, allocations: 7.688 kB / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.953, allocations: 0 / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.953, allocations: 0 / 1.107 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/1.953, allocations: 159.9 kB / 1.107 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/1.953, allocations: 91.77 kB / 1.107 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/1.953, allocations: 7.406 kB / 1.107 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.953, allocations: 15.08 kB / 1.107 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/1.953, allocations: 7.547 kB / 1.107 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/1.953, allocations: 10.94 kB / 1.107 GB, free: 158 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.792e-05/1.953, allocations: 75.28 kB / 1.108 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/1.953, allocations: 0 / 1.108 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002004/1.955, allocations: 0.5954 MB / 1.108 GB, free: 157.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003152/1.958, allocations: 0.7621 MB / 1.109 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001591/1.959, allocations: 69.94 kB / 1.109 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.959, allocations: 0 / 1.109 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/1.959, allocations: 37.91 kB / 1.109 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/1.959, allocations: 7.594 kB / 1.109 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/1.959, allocations: 402.1 kB / 1.109 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/1.96, allocations: 0.6917 MB / 1.11 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.694e-05/1.96, allocations: 27.92 kB / 1.11 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/1.96, allocations: 15.16 kB / 1.11 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/1.96, allocations: 0 / 1.11 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04138/2.001, allocations: 27.26 MB / 1.137 GB, free: 155.1 MB / 0.6823 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)