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.009874/0.009874, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9136/0.9136, allocations: 135.2 MB / 151 MB, free: 13.84 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.511/1.511, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0008741/0.0008739, allocations: 100.6 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003731, allocations: 12 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4149, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.709, allocations: 423 MB / 1.063 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.709, allocations: 80.5 kB / 1.063 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4708/2.18, allocations: 196.1 MB / 1.254 GB, free: 49.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/2.18, allocations: 0 / 1.254 GB, free: 49.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.055e-05/2.18, allocations: 4 kB / 1.254 GB, free: 49.47 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.006711/2.187, allocations: 1.232 MB / 1.255 GB, free: 48.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/2.187, allocations: 8.031 kB / 1.255 GB, free: 48.21 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.789e-05/2.187, allocations: 53.48 kB / 1.255 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/2.188, allocations: 83.23 kB / 1.256 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/2.189, allocations: 221.8 kB / 1.256 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/2.189, allocations: 19 kB / 1.256 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/2.189, allocations: 23.55 kB / 1.256 GB, free: 47.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/2.19, allocations: 434.1 kB / 1.256 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/2.19, allocations: 4 kB / 1.256 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/2.19, allocations: 7.125 kB / 1.256 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/2.19, allocations: 7.984 kB / 1.256 GB, free: 47.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/2.191, allocations: 0.5828 MB / 1.257 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/2.193, allocations: 0.9074 MB / 1.258 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/2.193, allocations: 247.3 kB / 1.258 GB, free: 45.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07606/2.269, allocations: 34.65 MB / 1.292 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/2.27, allocations: 38.06 kB / 1.292 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/2.27, allocations: 0 / 1.292 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.00176/2.271, allocations: 408.8 kB / 1.292 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/2.271, allocations: 55.34 kB / 1.292 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/2.271, allocations: 129.1 kB / 1.292 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/2.272, allocations: 29.39 kB / 1.292 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/2.272, allocations: 107.7 kB / 1.292 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/2.272, allocations: 92.98 kB / 1.293 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/2.272, allocations: 7.125 kB / 1.293 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/2.272, allocations: 326.5 kB / 1.293 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/2.272, allocations: 85.06 kB / 1.293 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/2.272, allocations: 118.5 kB / 1.293 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/2.272, allocations: 91.48 kB / 1.293 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.272, allocations: 4 kB / 1.293 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006269/2.273, allocations: 289.7 kB / 1.293 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/2.273, allocations: 4 kB / 1.293 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/2.273, allocations: 4 kB / 1.293 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/2.273, allocations: 7.984 kB / 1.293 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/2.273, allocations: 78.97 kB / 1.294 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/2.273, allocations: 4 kB / 1.294 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/2.274, allocations: 23.25 kB / 1.294 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/2.274, allocations: 22.98 kB / 1.294 GB, free: 7.164 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 () * Number of clocked 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 0.0001417/2.274, allocations: 140.7 kB / 1.294 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/2.274, allocations: 19.81 kB / 1.294 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/2.276, allocations: 2.295 MB / 1.296 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/2.276, allocations: 10.48 kB / 1.296 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/2.276, allocations: 0 / 1.296 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.276, allocations: 7.984 kB / 1.296 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/2.279, allocations: 3.368 MB / 1.299 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/2.279, allocations: 0 / 1.299 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/2.28, allocations: 55.94 kB / 1.299 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/2.28, allocations: 0 / 1.299 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/2.28, allocations: 12 kB / 1.299 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/2.28, allocations: 3.984 kB / 1.299 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.28, allocations: 3.938 kB / 1.299 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/2.28, allocations: 0.5469 MB / 1.3 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/2.281, allocations: 144.5 kB / 1.3 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/2.281, allocations: 0 / 1.3 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/2.281, allocations: 19.98 kB / 1.3 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/2.281, allocations: 19.97 kB / 1.3 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/2.281, allocations: 12 kB / 1.3 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.651e-05/2.281, allocations: 108.7 kB / 1.3 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.281, allocations: 0 / 1.3 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008671/2.29, allocations: 1.662 MB / 1.302 GB, free: 396 kB / 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: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.4319/2.722, allocations: 3.424 MB / 1.305 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000992/2.723, allocations: 318.5 kB / 1.305 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.723, allocations: 3.703 kB / 1.305 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003851/2.723, allocations: 241.2 kB / 1.306 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/2.724, allocations: 55.45 kB / 1.306 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008152/2.732, allocations: 2.902 MB / 1.309 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/2.732, allocations: 0.7721 MB / 1.309 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008319/2.733, allocations: 400.5 kB / 1.31 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/2.733, allocations: 94.73 kB / 1.31 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/2.733, allocations: 0 / 1.31 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08754/2.821, allocations: 49.42 MB / 1.358 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/2.821, allocations: 155.2 kB / 1.358 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/6.666, allocations: 1.969 kB / 1.358 GB, free: 152.7 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)