Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 180.2 kB / 7.651 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7813/0.7813, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0009371/0.000937, allocations: 100.3 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.166e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4922, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9734/1.466, allocations: 422.3 MB / 1.046 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.466, allocations: 75.09 kB / 1.046 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.015/2.481, allocations: 193 MB / 1.235 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.444e-06/2.481, allocations: 0 / 1.235 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.605e-05/2.481, allocations: 4 kB / 1.235 GB, free: 103.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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.007325/2.488, allocations: 1.219 MB / 1.236 GB, free: 102 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/2.488, allocations: 12.03 kB / 1.236 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/2.489, allocations: 86.81 kB / 1.236 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/2.49, allocations: 222.8 kB / 1.236 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/2.49, allocations: 8 kB / 1.236 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/2.49, allocations: 8 kB / 1.236 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004542/2.49, allocations: 415.4 kB / 1.237 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/2.49, allocations: 200.8 kB / 1.237 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/2.49, allocations: 0 / 1.237 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/2.49, allocations: 3.953 kB / 1.237 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/2.49, allocations: 4 kB / 1.237 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/2.491, allocations: 0.8553 MB / 1.238 GB, free: 100 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/2.492, allocations: 148.4 kB / 1.238 GB, free: 99.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/2.492, allocations: 65.73 kB / 1.238 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07493/2.567, allocations: 34.75 MB / 1.272 GB, free: 62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/2.567, allocations: 34.56 kB / 1.272 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.514e-06/2.567, allocations: 3.938 kB / 1.272 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001246/2.568, allocations: 283.5 kB / 1.272 GB, free: 61.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/2.568, allocations: 55.41 kB / 1.272 GB, free: 61.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/2.568, allocations: 109.2 kB / 1.272 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/2.568, allocations: 29.7 kB / 1.272 GB, free: 61.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/2.568, allocations: 112.2 kB / 1.273 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/2.568, allocations: 78.77 kB / 1.273 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/2.568, allocations: 0 / 1.273 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/2.568, allocations: 326.8 kB / 1.273 GB, free: 60.94 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/2.569, allocations: 67.97 kB / 1.273 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/2.569, allocations: 117.1 kB / 1.273 GB, free: 60.74 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007514/2.569, allocations: 123.9 kB / 1.273 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/2.569, allocations: 3.938 kB / 1.273 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001068/2.57, allocations: 307.5 kB / 1.274 GB, free: 60.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/2.571, allocations: 11.94 kB / 1.274 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/2.571, allocations: 0 / 1.274 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/2.571, allocations: 4 kB / 1.274 GB, free: 60.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/2.571, allocations: 79.88 kB / 1.274 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/2.571, allocations: 4 kB / 1.274 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/2.571, allocations: 11.84 kB / 1.274 GB, free: 60.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/2.571, allocations: 35.95 kB / 1.274 GB, free: 60.16 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.293e-05/2.571, allocations: 113 kB / 1.274 GB, free: 60.05 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001025/2.572, allocations: 289.7 kB / 1.274 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/2.572, allocations: 19.77 kB / 1.274 GB, free: 59.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/2.574, allocations: 0.5085 MB / 1.275 GB, free: 59.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/2.574, allocations: 4 kB / 1.275 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/2.574, allocations: 4 kB / 1.275 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/2.574, allocations: 3.984 kB / 1.275 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/2.575, allocations: 0.8123 MB / 1.275 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/2.575, allocations: 0 / 1.275 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/2.575, allocations: 67.94 kB / 1.275 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/2.575, allocations: 3.938 kB / 1.275 GB, free: 58.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/2.575, allocations: 19.98 kB / 1.275 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/2.575, allocations: 4 kB / 1.275 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.575, allocations: 4 kB / 1.275 GB, free: 58.26 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/2.577, allocations: 463.8 kB / 1.276 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/2.577, allocations: 128.7 kB / 1.276 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/2.577, allocations: 0 / 1.276 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/2.577, allocations: 11.98 kB / 1.276 GB, free: 57.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/2.577, allocations: 27.95 kB / 1.276 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/2.577, allocations: 31.97 kB / 1.276 GB, free: 57.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.528e-05/2.577, allocations: 94.91 kB / 1.276 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/2.577, allocations: 0 / 1.276 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007884/2.585, allocations: 1.651 MB / 1.278 GB, free: 55.84 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.01524/2.6, allocations: 3.408 MB / 1.281 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005636/2.601, allocations: 240 kB / 1.281 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/2.601, allocations: 8.312 kB / 1.281 GB, free: 52.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/2.601, allocations: 151.9 kB / 1.282 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/2.601, allocations: 47.88 kB / 1.282 GB, free: 52.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/2.608, allocations: 0.9659 MB / 1.282 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/2.608, allocations: 0.7376 MB / 1.283 GB, free: 50.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00117/2.609, allocations: 1.214 MB / 1.284 GB, free: 49.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/2.61, allocations: 91.38 kB / 1.284 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of SimCode: time 1.784e-06/2.61, allocations: 0 / 1.284 GB, free: 49.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/2.689, allocations: 43.18 MB / 1.327 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/2.69, allocations: 113.5 kB / 1.327 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/5.935, allocations: 0 / 1.327 GB, free: 5.648 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)