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.001858/0.001858, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.855/0.855, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.735/1.735, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.000905/0.0009049, allocations: 90.31 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.567e-05, allocations: 2.969 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 82.3 MB / 0.6404 GB, free: 7.848 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.496/1.686, allocations: 419.1 MB / 1.05 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.686, allocations: 67.97 kB / 1.05 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07921/1.765, allocations: 36.72 MB / 1.086 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.694e-06/1.765, allocations: 0 / 1.086 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.765, allocations: 0 / 1.086 GB, free: 163.6 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.0004383/1.766, allocations: 375 kB / 1.086 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.766, allocations: 8.031 kB / 1.086 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/1.766, allocations: 15.86 kB / 1.086 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/1.766, allocations: 163.1 kB / 1.086 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/1.766, allocations: 4 kB / 1.086 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/1.766, allocations: 8 kB / 1.086 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/1.766, allocations: 45.69 kB / 1.086 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.766, allocations: 0 / 1.086 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.766, allocations: 4 kB / 1.086 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.766, allocations: 4 kB / 1.086 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/1.766, allocations: 27.86 kB / 1.086 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/1.767, allocations: 169.6 kB / 1.086 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/1.767, allocations: 46.62 kB / 1.086 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/1.767, allocations: 16.86 kB / 1.086 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009273/1.776, allocations: 3.147 MB / 1.09 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/1.776, allocations: 38.56 kB / 1.09 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/1.776, allocations: 0 / 1.09 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02748/1.804, allocations: 13.45 MB / 1.103 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/1.804, allocations: 55.41 kB / 1.103 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/1.804, allocations: 85 kB / 1.103 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/1.804, allocations: 25.7 kB / 1.103 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.281e-05/1.804, allocations: 88.14 kB / 1.103 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/1.804, allocations: 35.45 kB / 1.103 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/1.804, allocations: 0 / 1.103 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/1.804, allocations: 315 kB / 1.103 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/1.804, allocations: 24 kB / 1.103 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.987e-05/1.804, allocations: 23.98 kB / 1.103 GB, free: 145 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/1.804, allocations: 23.98 kB / 1.103 GB, free: 145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.804, allocations: 7.875 kB / 1.103 GB, free: 145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001938/1.804, allocations: 106 kB / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.804, allocations: 8 kB / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.804, allocations: 0 / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.804, allocations: 0 / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.805, allocations: 23.98 kB / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.805, allocations: 3.953 kB / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/1.805, allocations: 8 kB / 1.103 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/1.805, allocations: 4 kB / 1.103 GB, free: 144.9 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 () * 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.189e-05/1.805, allocations: 109 kB / 1.104 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/1.805, allocations: 4 kB / 1.104 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/1.805, allocations: 125.5 kB / 1.104 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.805, allocations: 0 / 1.104 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.805, allocations: 0 / 1.104 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.805, allocations: 3.953 kB / 1.104 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/1.805, allocations: 173.6 kB / 1.104 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.805, allocations: 0 / 1.104 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/1.805, allocations: 35.91 kB / 1.104 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.805, allocations: 0 / 1.104 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.805, allocations: 4 kB / 1.104 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.805, allocations: 8.078 kB / 1.104 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.805, allocations: 7.922 kB / 1.104 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/1.806, allocations: 145.5 kB / 1.104 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/1.806, allocations: 93.12 kB / 1.104 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.806, allocations: 4 kB / 1.104 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/1.806, allocations: 16 kB / 1.104 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.806, allocations: 7.984 kB / 1.104 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/1.806, allocations: 7.984 kB / 1.104 GB, free: 144 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.935e-05/1.806, allocations: 75.28 kB / 1.104 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/1.806, allocations: 0 / 1.104 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002287/1.808, allocations: 0.6092 MB / 1.105 GB, free: 143.3 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 () * 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.003652/1.812, allocations: 0.7505 MB / 1.106 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002861/1.812, allocations: 63.98 kB / 1.106 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.812, allocations: 3.938 kB / 1.106 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.495e-05/1.812, allocations: 32.27 kB / 1.106 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/1.812, allocations: 8.984 kB / 1.106 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/1.813, allocations: 297 kB / 1.106 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/1.813, allocations: 0.6887 MB / 1.107 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.617e-05/1.813, allocations: 28.53 kB / 1.107 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/1.813, allocations: 11.44 kB / 1.107 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/1.813, allocations: 4 kB / 1.107 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.03916/1.852, allocations: 29.06 MB / 1.135 GB, free: 112.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)