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.001212/0.001212, allocations: 174.7 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.7388/0.7388, 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.624/1.624, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0008926/0.0008926, allocations: 93.77 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.541e-05, allocations: 2.344 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.668, allocations: 422.9 MB / 1.054 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.669, allocations: 63.97 kB / 1.054 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.492/2.161, allocations: 195.8 MB / 1.245 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/2.161, allocations: 3.938 kB / 1.245 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.906e-05/2.161, allocations: 4 kB / 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.5204/2.681, allocations: 1.204 MB / 1.246 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/2.681, allocations: 9.656 kB / 1.246 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/2.681, allocations: 52.36 kB / 1.246 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/2.682, allocations: 85.23 kB / 1.246 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/2.683, allocations: 225.1 kB / 1.246 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/2.683, allocations: 16.41 kB / 1.246 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/2.683, allocations: 16.95 kB / 1.246 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/2.684, allocations: 444.8 kB / 1.247 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/2.684, allocations: 0 / 1.247 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/2.684, allocations: 9.203 kB / 1.247 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/2.684, allocations: 6.25 kB / 1.247 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/2.686, allocations: 0.5879 MB / 1.247 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/2.687, allocations: 0.9088 MB / 1.248 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/2.688, allocations: 252.9 kB / 1.249 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/2.688, allocations: 71.05 kB / 1.249 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08854/2.777, allocations: 34.75 MB / 1.283 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/2.777, allocations: 41.19 kB / 1.283 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.716e-06/2.777, allocations: 0 / 1.283 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001707/2.778, allocations: 372.4 kB / 1.283 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/2.778, allocations: 54.88 kB / 1.283 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/2.779, allocations: 125.7 kB / 1.283 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/2.779, allocations: 28.77 kB / 1.283 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/2.779, allocations: 117.7 kB / 1.283 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/2.779, allocations: 84.58 kB / 1.283 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/2.779, allocations: 9.062 kB / 1.283 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/2.779, allocations: 325.5 kB / 1.284 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/2.779, allocations: 80.56 kB / 1.284 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/2.779, allocations: 124.9 kB / 1.284 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/2.779, allocations: 83.42 kB / 1.284 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.779, allocations: 0 / 1.284 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000657/2.78, allocations: 302.5 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/2.78, allocations: 4.312 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/2.78, allocations: 3.812 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/2.78, allocations: 3.594 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/2.78, allocations: 85.47 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/2.78, allocations: 0 / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/2.781, allocations: 25.41 kB / 1.284 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/2.781, allocations: 20.31 kB / 1.284 GB, free: 133 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.0001118/2.781, allocations: 125.2 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/2.781, allocations: 19.3 kB / 1.284 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008799/2.782, allocations: 0.5001 MB / 1.285 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/2.782, allocations: 7.766 kB / 1.285 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/2.782, allocations: 0 / 1.285 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/2.782, allocations: 0 / 1.285 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/2.783, allocations: 0.8226 MB / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/2.783, allocations: 0 / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/2.784, allocations: 70.16 kB / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/2.784, allocations: 2.953 kB / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/2.784, allocations: 27.66 kB / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/2.784, allocations: 0 / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/2.784, allocations: 0 / 1.286 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009545/2.785, allocations: 437.8 kB / 1.286 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/2.785, allocations: 126.3 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/2.785, allocations: 3.25 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/2.785, allocations: 28.41 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/2.785, allocations: 25.91 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/2.785, allocations: 20.23 kB / 1.286 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.872e-05/2.785, allocations: 111.5 kB / 1.287 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/2.785, allocations: 0 / 1.287 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008341/2.794, allocations: 1.663 MB / 1.288 GB, free: 132.1 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.01604/2.81, allocations: 3.318 MB / 1.291 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007728/2.811, allocations: 247.3 kB / 1.292 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/2.811, allocations: 0.5 kB / 1.292 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/2.811, allocations: 167.5 kB / 1.292 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/2.812, allocations: 54.97 kB / 1.292 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/2.82, allocations: 0.9868 MB / 1.293 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/2.82, allocations: 0.7379 MB / 1.294 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001263/2.822, allocations: 1.227 MB / 1.295 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/2.822, allocations: 86.75 kB / 1.295 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/2.822, allocations: 0 / 1.295 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/2.915, allocations: 50.98 MB / 1.345 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/2.915, allocations: 141.7 kB / 1.345 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/6.407, allocations: 0 / 1.345 GB, free: 127.5 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)