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.001581/0.001582, allocations: 175 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.738/0.738, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.679/1.679, 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.0009834/0.0009834, allocations: 89.97 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.326e-05, allocations: 1.938 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 82.3 MB / 0.6405 GB, free: 7.762 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.693, allocations: 422.9 MB / 1.054 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/1.694, allocations: 74.91 kB / 1.054 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.551/2.245, allocations: 195.8 MB / 1.245 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.856e-06/2.245, allocations: 7.938 kB / 1.245 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.301e-05/2.245, allocations: 0 / 1.245 GB, free: 0.5703 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.5626/2.807, allocations: 1.203 MB / 1.246 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/2.808, allocations: 9.188 kB / 1.246 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.718e-05/2.808, allocations: 52.3 kB / 1.246 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/2.809, allocations: 81.94 kB / 1.246 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/2.809, allocations: 226.2 kB / 1.246 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/2.809, allocations: 16.91 kB / 1.246 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/2.81, allocations: 17.81 kB / 1.246 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/2.811, allocations: 447.4 kB / 1.247 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/2.811, allocations: 3.609 kB / 1.247 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/2.811, allocations: 13.34 kB / 1.247 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/2.811, allocations: 4.625 kB / 1.247 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/2.813, allocations: 0.5823 MB / 1.247 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/2.814, allocations: 0.9079 MB / 1.248 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/2.815, allocations: 250.6 kB / 1.249 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/2.815, allocations: 75.55 kB / 1.249 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08318/2.899, allocations: 34.75 MB / 1.283 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/2.899, allocations: 39.75 kB / 1.283 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/2.899, allocations: 3.281 kB / 1.283 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001583/2.9, allocations: 371.9 kB / 1.283 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/2.9, allocations: 54.78 kB / 1.283 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/2.9, allocations: 122.3 kB / 1.283 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/2.9, allocations: 34.39 kB / 1.283 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/2.9, allocations: 112.2 kB / 1.283 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/2.901, allocations: 89.81 kB / 1.283 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/2.901, allocations: 8.969 kB / 1.283 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/2.901, allocations: 323.6 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/2.901, allocations: 78.05 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/2.901, allocations: 125.2 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/2.901, allocations: 83.88 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/2.901, allocations: 0 / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005914/2.902, allocations: 297.3 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.902, allocations: 10.02 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/2.902, allocations: 3.25 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/2.902, allocations: 7.031 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/2.902, allocations: 79.95 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/2.902, allocations: 2.656 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/2.902, allocations: 20.62 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/2.902, allocations: 25.8 kB / 1.284 GB, free: 132.9 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 8.807e-05/2.902, allocations: 118.1 kB / 1.284 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/2.903, allocations: 21.3 kB / 1.284 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007971/2.903, allocations: 0.4918 MB / 1.285 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/2.903, allocations: 9.438 kB / 1.285 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.903, allocations: 0 / 1.285 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/2.903, allocations: 0.9375 kB / 1.285 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/2.905, allocations: 0.8309 MB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/2.905, allocations: 0 / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/2.905, allocations: 70.58 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/2.905, allocations: 2.953 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/2.905, allocations: 20.7 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/2.905, allocations: 9.328 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.905, allocations: 2.875 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/2.905, allocations: 436.7 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/2.906, allocations: 124.7 kB / 1.286 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/2.906, allocations: 3.562 kB / 1.286 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/2.906, allocations: 19.44 kB / 1.286 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/2.906, allocations: 27.83 kB / 1.286 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/2.906, allocations: 26.73 kB / 1.286 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.714e-05/2.906, allocations: 111.6 kB / 1.287 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.906, allocations: 0 / 1.287 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00716/2.913, allocations: 1.663 MB / 1.288 GB, free: 132 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.01439/2.928, allocations: 3.313 MB / 1.291 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006831/2.928, allocations: 249.6 kB / 1.292 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.928, allocations: 0 / 1.292 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/2.929, allocations: 164.7 kB / 1.292 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/2.929, allocations: 60.16 kB / 1.292 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/2.936, allocations: 0.9977 MB / 1.293 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/2.936, allocations: 0.7357 MB / 1.294 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001281/2.937, allocations: 1.216 MB / 1.295 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/2.938, allocations: 90.36 kB / 1.295 GB, free: 130 MB / 0.6823 GB Notification: Performance of SimCode: time 9.11e-07/2.938, allocations: 3.938 kB / 1.295 GB, free: 130 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09475/3.032, allocations: 50.97 MB / 1.345 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/3.033, allocations: 132 kB / 1.345 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/6.556, allocations: 0 / 1.345 GB, free: 127.4 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)