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.00918/0.00918, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7881/0.7881, allocations: 135.2 MB / 151 MB, free: 13.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.454/1.454, allocations: 223.2 MB / 406.8 MB, free: 3.176 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.0008663/0.0008664, allocations: 93.7 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003724, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4233, allocations: 82.3 MB / 0.6495 GB, free: 36.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.571, allocations: 423 MB / 1.063 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.571, allocations: 73.53 kB / 1.063 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4754/2.046, allocations: 196.1 MB / 1.254 GB, free: 49.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.422e-06/2.046, allocations: 0 / 1.254 GB, free: 49.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.116e-05/2.046, allocations: 4 kB / 1.254 GB, free: 49.21 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.005903/2.052, allocations: 1.228 MB / 1.255 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/2.052, allocations: 12.03 kB / 1.255 GB, free: 47.95 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/2.052, allocations: 56.72 kB / 1.255 GB, free: 47.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/2.053, allocations: 82.67 kB / 1.256 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/2.054, allocations: 228.9 kB / 1.256 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/2.054, allocations: 11.56 kB / 1.256 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/2.054, allocations: 15.31 kB / 1.256 GB, free: 47.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/2.055, allocations: 437.4 kB / 1.256 GB, free: 47.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/2.055, allocations: 0 / 1.256 GB, free: 47.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/2.055, allocations: 11.38 kB / 1.256 GB, free: 47.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/2.055, allocations: 7.984 kB / 1.256 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/2.056, allocations: 0.5824 MB / 1.257 GB, free: 46.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/2.057, allocations: 0.9092 MB / 1.258 GB, free: 45.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/2.058, allocations: 246.5 kB / 1.258 GB, free: 45.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07391/2.132, allocations: 34.65 MB / 1.292 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/2.132, allocations: 38.5 kB / 1.292 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/2.132, allocations: 0 / 1.292 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.00158/2.133, allocations: 409.1 kB / 1.292 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/2.133, allocations: 63.34 kB / 1.292 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/2.133, allocations: 126 kB / 1.292 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/2.134, allocations: 29.27 kB / 1.292 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/2.134, allocations: 111.7 kB / 1.292 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/2.134, allocations: 85.75 kB / 1.293 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/2.134, allocations: 3.688 kB / 1.293 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.357e-05/2.134, allocations: 330.2 kB / 1.293 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/2.134, allocations: 77.5 kB / 1.293 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/2.134, allocations: 130.5 kB / 1.293 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/2.134, allocations: 78.36 kB / 1.293 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/2.134, allocations: 3.938 kB / 1.293 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005594/2.135, allocations: 298.6 kB / 1.293 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/2.135, allocations: 4 kB / 1.293 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/2.135, allocations: 7.938 kB / 1.293 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/2.135, allocations: 3.984 kB / 1.293 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/2.135, allocations: 78.31 kB / 1.294 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/2.135, allocations: 7.938 kB / 1.294 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/2.135, allocations: 23.38 kB / 1.294 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/2.135, allocations: 23.34 kB / 1.294 GB, free: 6.895 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.0001203/2.136, allocations: 140.3 kB / 1.294 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/2.136, allocations: 15.81 kB / 1.294 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/2.138, allocations: 2.294 MB / 1.296 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/2.138, allocations: 10.3 kB / 1.296 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.138, allocations: 0 / 1.296 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/2.138, allocations: 11.92 kB / 1.296 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/2.141, allocations: 3.367 MB / 1.299 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.141, allocations: 0 / 1.299 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/2.141, allocations: 55.88 kB / 1.299 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/2.141, allocations: 8 kB / 1.299 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/2.141, allocations: 8 kB / 1.299 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/2.141, allocations: 3.984 kB / 1.299 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.141, allocations: 0 / 1.299 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/2.142, allocations: 0.543 MB / 1.3 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/2.142, allocations: 144.5 kB / 1.3 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/2.142, allocations: 0 / 1.3 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/2.142, allocations: 27.97 kB / 1.3 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/2.142, allocations: 19.97 kB / 1.3 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/2.142, allocations: 12 kB / 1.3 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.676e-05/2.142, allocations: 108.7 kB / 1.3 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/2.142, allocations: 0 / 1.3 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007482/2.15, allocations: 1.655 MB / 1.302 GB, free: 80 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.4287/2.578, allocations: 3.427 MB / 1.305 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007794/2.579, allocations: 318.6 kB / 1.305 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/2.579, allocations: 0.9062 kB / 1.305 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/2.58, allocations: 241.6 kB / 1.306 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/2.58, allocations: 62.83 kB / 1.306 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/2.587, allocations: 2.902 MB / 1.309 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/2.588, allocations: 0.7742 MB / 1.309 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007851/2.588, allocations: 397.9 kB / 1.31 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/2.589, allocations: 95.42 kB / 1.31 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/2.589, allocations: 0 / 1.31 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/2.676, allocations: 49.42 MB / 1.358 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/2.676, allocations: 157.2 kB / 1.358 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.643/6.319, allocations: 0 / 1.358 GB, free: 152.3 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)