Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7633/0.7633, 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.754/1.754, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009965/0.0009966, allocations: 99.75 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.216e-05, allocations: 2.875 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1883, allocations: 82.3 MB / 0.6404 GB, free: 7.816 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.553/1.742, allocations: 422.9 MB / 1.053 GB, free: 172 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.742, allocations: 74.45 kB / 1.053 GB, free: 172 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.116/2.858, allocations: 195.8 MB / 1.245 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.272e-06/2.858, allocations: 0 / 1.245 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.422e-05/2.858, allocations: 3.875 kB / 1.245 GB, free: 153.1 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.006744/2.865, allocations: 1.221 MB / 1.246 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/2.865, allocations: 8.609 kB / 1.246 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/2.866, allocations: 87.25 kB / 1.246 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/2.866, allocations: 228.5 kB / 1.246 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/2.866, allocations: 15.34 kB / 1.246 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/2.866, allocations: 15.84 kB / 1.246 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/2.867, allocations: 445.6 kB / 1.247 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/2.868, allocations: 0 / 1.247 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/2.868, allocations: 7.859 kB / 1.247 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/2.868, allocations: 4.188 kB / 1.247 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/2.869, allocations: 0.5902 MB / 1.247 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/2.87, allocations: 0.9042 MB / 1.248 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/2.871, allocations: 246.7 kB / 1.248 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/2.871, allocations: 75.89 kB / 1.248 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07919/2.95, allocations: 34.74 MB / 1.282 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/2.95, allocations: 38.72 kB / 1.282 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.404e-06/2.95, allocations: 0 / 1.282 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001442/2.952, allocations: 372.5 kB / 1.283 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/2.952, allocations: 61.31 kB / 1.283 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/2.952, allocations: 129.5 kB / 1.283 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/2.952, allocations: 32.42 kB / 1.283 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/2.952, allocations: 111.7 kB / 1.283 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/2.952, allocations: 85.44 kB / 1.283 GB, free: 135 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/2.952, allocations: 2.938 kB / 1.283 GB, free: 135 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/2.952, allocations: 324 kB / 1.284 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/2.952, allocations: 82.22 kB / 1.284 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/2.952, allocations: 125.6 kB / 1.284 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/2.953, allocations: 84.84 kB / 1.284 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.953, allocations: 0 / 1.284 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005731/2.953, allocations: 300.8 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/2.953, allocations: 7.578 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/2.953, allocations: 6.406 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/2.953, allocations: 0 / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/2.954, allocations: 82.34 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/2.954, allocations: 3.844 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/2.954, allocations: 15.75 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/2.954, allocations: 32.73 kB / 1.284 GB, free: 134.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.679e-05/2.954, allocations: 114.8 kB / 1.284 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/2.954, allocations: 19.61 kB / 1.284 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/2.955, allocations: 0.4965 MB / 1.285 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/2.955, allocations: 8.5 kB / 1.285 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.955, allocations: 4 kB / 1.285 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.955, allocations: 2.25 kB / 1.285 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/2.956, allocations: 0.8257 MB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/2.956, allocations: 3.594 kB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/2.956, allocations: 73.66 kB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/2.956, allocations: 0.625 kB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/2.956, allocations: 18.27 kB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/2.956, allocations: 0 / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.956, allocations: 7.609 kB / 1.286 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/2.957, allocations: 437.7 kB / 1.286 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/2.957, allocations: 130.7 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/2.957, allocations: 3.688 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/2.957, allocations: 18.58 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/2.957, allocations: 24.12 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/2.957, allocations: 27.89 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.1e-05/2.957, allocations: 112 kB / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.542e-06/2.957, allocations: 0 / 1.286 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007839/2.965, allocations: 1.666 MB / 1.288 GB, free: 133.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0128/2.978, allocations: 2.443 MB / 1.29 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005988/2.979, allocations: 252.9 kB / 1.291 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/2.979, allocations: 0 / 1.291 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/2.979, allocations: 164.4 kB / 1.291 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/2.979, allocations: 68.73 kB / 1.291 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/2.98, allocations: 281.2 kB / 1.291 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/2.98, allocations: 0.7386 MB / 1.292 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001114/2.981, allocations: 1.224 MB / 1.293 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/2.981, allocations: 60.77 kB / 1.293 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/2.981, allocations: 0 / 1.293 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.06503/3.047, allocations: 46.17 MB / 1.338 GB, free: 129.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)