Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7927/0.7927, allocations: 143.3 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 185 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.2 MB / 447.7 MB, free: 4.762 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.0008269/0.0008268, allocations: 92.33 kB / 0.5187 GB, free: 1.125 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 270.8 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004097, allocations: 14.91 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1471, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/1.719, allocations: 0.6502 GB / 1.424 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/1.719, allocations: 72.78 kB / 1.424 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1556/1.875, allocations: 64.95 MB / 1.488 GB, free: 232.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/1.875, allocations: 0 / 1.488 GB, free: 232.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.875, allocations: 0 / 1.488 GB, free: 232.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002272/1.877, allocations: 0.5027 MB / 1.488 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.877, allocations: 11.97 kB / 1.488 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/1.877, allocations: 42.56 kB / 1.488 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/1.877, allocations: 27.5 kB / 1.488 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/1.878, allocations: 171 kB / 1.488 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/1.878, allocations: 29.7 kB / 1.488 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/1.878, allocations: 11.94 kB / 1.488 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/1.878, allocations: 113.6 kB / 1.488 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.878, allocations: 0 / 1.488 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.878, allocations: 15.89 kB / 1.488 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.878, allocations: 0 / 1.488 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/1.878, allocations: 110.7 kB / 1.489 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/1.879, allocations: 335.4 kB / 1.489 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/1.879, allocations: 121.4 kB / 1.489 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009608/1.889, allocations: 4.15 MB / 1.493 GB, free: 226.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.889, allocations: 38.45 kB / 1.493 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/1.889, allocations: 0 / 1.493 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000489/1.889, allocations: 168.6 kB / 1.493 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/1.889, allocations: 51.41 kB / 1.493 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/1.889, allocations: 92.89 kB / 1.493 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.889, allocations: 33.7 kB / 1.493 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/1.889, allocations: 84.05 kB / 1.493 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/1.889, allocations: 43.28 kB / 1.493 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/1.889, allocations: 4 kB / 1.493 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/1.889, allocations: 314.8 kB / 1.494 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/1.889, allocations: 27.89 kB / 1.494 GB, free: 226 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/1.889, allocations: 29.5 kB / 1.494 GB, free: 226 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/1.89, allocations: 31.84 kB / 1.494 GB, free: 226 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.89, allocations: 3.938 kB / 1.494 GB, free: 226 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001549/1.89, allocations: 110.4 kB / 1.494 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.89, allocations: 4 kB / 1.494 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.89, allocations: 0 / 1.494 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/1.89, allocations: 4 kB / 1.494 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/1.89, allocations: 19.84 kB / 1.494 GB, free: 225.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.89, allocations: 3.953 kB / 1.494 GB, free: 225.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/1.89, allocations: 15.91 kB / 1.494 GB, free: 225.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/1.89, allocations: 0 / 1.494 GB, free: 225.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 6.427e-05/1.89, allocations: 118.2 kB / 1.494 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/1.89, allocations: 4 kB / 1.494 GB, free: 225.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/1.89, allocations: 370.5 kB / 1.495 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.89, allocations: 19.81 kB / 1.495 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.89, allocations: 0 / 1.495 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.89, allocations: 3.953 kB / 1.495 GB, free: 225.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/1.891, allocations: 276.4 kB / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.891, allocations: 3.797 kB / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/1.891, allocations: 23.89 kB / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.891, allocations: 0 / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/1.891, allocations: 4 kB / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.891, allocations: 0 / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.891, allocations: 3.938 kB / 1.495 GB, free: 225 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/1.891, allocations: 337.1 kB / 1.495 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/1.891, allocations: 104.8 kB / 1.495 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.891, allocations: 3.844 kB / 1.495 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.891, allocations: 8 kB / 1.495 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/1.891, allocations: 7.797 kB / 1.495 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.891, allocations: 4 kB / 1.495 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.469e-05/1.891, allocations: 95.08 kB / 1.495 GB, free: 224.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.891, allocations: 0 / 1.495 GB, free: 224.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001687/1.893, allocations: 343.5 kB / 1.496 GB, free: 224.1 MB / 0.7136 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.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002491/1.896, allocations: 1.585 MB / 1.497 GB, free: 222.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001945/1.896, allocations: 130.8 kB / 1.497 GB, free: 222.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.896, allocations: 0 / 1.497 GB, free: 222.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/1.896, allocations: 107.2 kB / 1.497 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.896, allocations: 31.39 kB / 1.497 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/1.897, allocations: 0.504 MB / 1.498 GB, free: 221.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.897, allocations: 0.7197 MB / 1.499 GB, free: 221.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001068/1.897, allocations: 28.17 kB / 1.499 GB, free: 221.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/1.897, allocations: 39.28 kB / 1.499 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/1.897, allocations: 0 / 1.499 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/1.931, allocations: 18.91 MB / 1.517 GB, free: 205.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/1.931, allocations: 200.1 kB / 1.517 GB, free: 205.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/4.164, allocations: 0 / 1.517 GB, free: 205.1 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)