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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_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.001014/0.001015, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.791/0.791, allocations: 133.6 MB / 141.6 MB, free: 2.965 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.604/1.604, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008727/0.000872, allocations: 97.69 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.062e-05, allocations: 0 / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5415, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.647, allocations: 422.3 MB / 1.046 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.647, allocations: 74.84 kB / 1.046 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.013/2.66, allocations: 193 MB / 1.235 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/2.66, allocations: 3.984 kB / 1.235 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.428e-05/2.66, 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.006537/2.667, allocations: 1.207 MB / 1.236 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/2.667, allocations: 16.02 kB / 1.236 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/2.668, allocations: 86.83 kB / 1.236 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/2.668, allocations: 226.5 kB / 1.236 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/2.668, allocations: 11.98 kB / 1.236 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/2.668, allocations: 8 kB / 1.236 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004692/2.669, allocations: 407.4 kB / 1.237 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/2.669, allocations: 200.8 kB / 1.237 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/2.669, allocations: 0 / 1.237 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/2.669, allocations: 7.938 kB / 1.237 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/2.669, allocations: 4 kB / 1.237 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009041/2.67, allocations: 0.8514 MB / 1.238 GB, free: 100 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/2.67, allocations: 144.4 kB / 1.238 GB, free: 99.85 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/2.67, allocations: 73.72 kB / 1.238 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08031/2.75, allocations: 34.74 MB / 1.272 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/2.751, allocations: 30.56 kB / 1.272 GB, free: 61.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/2.751, allocations: 0 / 1.272 GB, free: 61.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001813/2.752, allocations: 287.5 kB / 1.272 GB, free: 61.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/2.752, allocations: 51.41 kB / 1.272 GB, free: 61.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/2.753, allocations: 117.2 kB / 1.272 GB, free: 61.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/2.753, allocations: 25.7 kB / 1.272 GB, free: 61.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/2.753, allocations: 112.2 kB / 1.273 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/2.753, allocations: 86.75 kB / 1.273 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/2.753, allocations: 0 / 1.273 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/2.753, allocations: 318.8 kB / 1.273 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/2.753, allocations: 71.98 kB / 1.273 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/2.753, allocations: 117.1 kB / 1.273 GB, free: 60.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/2.754, allocations: 123.9 kB / 1.273 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.754, allocations: 0 / 1.273 GB, free: 60.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001629/2.756, allocations: 315.5 kB / 1.274 GB, free: 60.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/2.756, allocations: 7.953 kB / 1.274 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/2.756, allocations: 0 / 1.274 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/2.756, allocations: 4 kB / 1.274 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/2.757, allocations: 79.88 kB / 1.274 GB, free: 60.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/2.757, allocations: 4 kB / 1.274 GB, free: 60.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/2.757, allocations: 11.84 kB / 1.274 GB, free: 60.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/2.757, allocations: 27.97 kB / 1.274 GB, free: 60.12 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 0.0001191/2.757, allocations: 113 kB / 1.274 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001613/2.759, allocations: 289.7 kB / 1.274 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/2.759, allocations: 19.77 kB / 1.274 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/2.761, allocations: 0.5047 MB / 1.275 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/2.761, allocations: 11.94 kB / 1.275 GB, free: 59.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/2.761, allocations: 4 kB / 1.275 GB, free: 59.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/2.761, allocations: 3.984 kB / 1.275 GB, free: 59.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/2.762, allocations: 0.82 MB / 1.275 GB, free: 58.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/2.762, allocations: 0 / 1.275 GB, free: 58.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/2.763, allocations: 71.88 kB / 1.275 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/2.763, allocations: 0 / 1.275 GB, free: 58.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/2.763, allocations: 15.98 kB / 1.275 GB, free: 58.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/2.763, allocations: 4 kB / 1.275 GB, free: 58.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.763, allocations: 4 kB / 1.275 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/2.764, allocations: 459.8 kB / 1.276 GB, free: 57.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/2.764, allocations: 124.7 kB / 1.276 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/2.764, allocations: 7.984 kB / 1.276 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/2.764, allocations: 8 kB / 1.276 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/2.764, allocations: 31.95 kB / 1.276 GB, free: 57.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/2.764, allocations: 31.97 kB / 1.276 GB, free: 57.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.487e-05/2.764, allocations: 90.91 kB / 1.276 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/2.764, allocations: 0 / 1.276 GB, free: 57.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009262/2.774, allocations: 1.655 MB / 1.278 GB, free: 55.79 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.0199/2.794, allocations: 3.404 MB / 1.281 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006925/2.794, allocations: 236.3 kB / 1.281 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/2.794, allocations: 8 kB / 1.281 GB, free: 52.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/2.795, allocations: 155.9 kB / 1.281 GB, free: 52.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/2.795, allocations: 41.86 kB / 1.282 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/2.802, allocations: 0.9697 MB / 1.282 GB, free: 51.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/2.802, allocations: 0.7415 MB / 1.283 GB, free: 50.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001229/2.803, allocations: 1.218 MB / 1.284 GB, free: 49.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/2.804, allocations: 87.38 kB / 1.284 GB, free: 48.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/2.804, allocations: 0 / 1.284 GB, free: 48.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09206/2.896, allocations: 43.17 MB / 1.327 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/2.896, allocations: 124.6 kB / 1.327 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/6.235, allocations: 0 / 1.327 GB, free: 5.602 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)