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.9235/0.9235, allocations: 141.8 MB / 149.3 MB, free: 9.195 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.001535/0.001535, allocations: 184.8 kB / 182.2 MB, free: 9.426 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.995/1.995, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009615/0.0009613, allocations: 93.73 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001919, allocations: 284.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.402e-05, allocations: 3.984 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5066, allocations: 82.77 MB / 0.7574 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.737/2.244, allocations: 0.6495 GB / 1.407 GB, free: 23.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/2.244, allocations: 71.53 kB / 1.407 GB, free: 23.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6881/2.932, allocations: 63.87 MB / 1.469 GB, free: 224.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/2.932, allocations: 0 / 1.469 GB, free: 224.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.213e-06/2.932, allocations: 0 / 1.469 GB, free: 224.1 MB / 0.698 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.002225/2.934, allocations: 0.4954 MB / 1.47 GB, free: 223.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/2.934, allocations: 7.562 kB / 1.47 GB, free: 223.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/2.935, allocations: 16.38 kB / 1.47 GB, free: 223.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/2.935, allocations: 179.5 kB / 1.47 GB, free: 223.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/2.935, allocations: 31.7 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/2.935, allocations: 10.56 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002034/2.935, allocations: 87.28 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/2.935, allocations: 73.66 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/2.935, allocations: 0 / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/2.935, allocations: 0 / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/2.935, allocations: 3.781 kB / 1.47 GB, free: 223.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/2.936, allocations: 305.8 kB / 1.471 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/2.936, allocations: 106.3 kB / 1.471 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/2.936, allocations: 42.62 kB / 1.471 GB, free: 223.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/2.947, allocations: 4.168 MB / 1.475 GB, free: 221.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/2.947, allocations: 34.19 kB / 1.475 GB, free: 221.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/2.947, allocations: 0 / 1.475 GB, free: 221.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005862/2.948, allocations: 118.3 kB / 1.475 GB, free: 221.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/2.948, allocations: 55.34 kB / 1.475 GB, free: 221.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/2.948, allocations: 102.8 kB / 1.475 GB, free: 221.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/2.948, allocations: 25.7 kB / 1.475 GB, free: 221.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/2.948, allocations: 82.7 kB / 1.475 GB, free: 221.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/2.948, allocations: 43.78 kB / 1.475 GB, free: 221 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/2.948, allocations: 0 / 1.475 GB, free: 221 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/2.948, allocations: 324.9 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/2.948, allocations: 19.91 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/2.948, allocations: 22.84 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/2.948, allocations: 27.89 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/2.948, allocations: 4 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002097/2.948, allocations: 100.5 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/2.948, allocations: 8.828 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/2.948, allocations: 0 / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/2.948, allocations: 2.562 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/2.949, allocations: 20.66 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/2.949, allocations: 0 / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/2.949, allocations: 4.547 kB / 1.476 GB, free: 220.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/2.949, allocations: 8.312 kB / 1.476 GB, free: 220.7 MB / 0.698 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 () * 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.587e-05/2.949, allocations: 112.3 kB / 1.476 GB, free: 220.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002175/2.949, allocations: 109.6 kB / 1.476 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/2.949, allocations: 7.25 kB / 1.476 GB, free: 220.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/2.949, allocations: 351.7 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/2.949, allocations: 6.109 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.949, allocations: 5.219 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/2.949, allocations: 3.281 kB / 1.476 GB, free: 220.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/2.95, allocations: 244.7 kB / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/2.95, allocations: 5.375 kB / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/2.95, allocations: 19.73 kB / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/2.95, allocations: 0 / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/2.95, allocations: 5.938 kB / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/2.95, allocations: 3.25 kB / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.95, allocations: 0 / 1.477 GB, free: 220.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/2.95, allocations: 319.6 kB / 1.477 GB, free: 220.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/2.95, allocations: 112.5 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/2.95, allocations: 0 / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/2.95, allocations: 6.922 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/2.95, allocations: 13.73 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/2.951, allocations: 3.719 kB / 1.477 GB, free: 220 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.491e-05/2.951, allocations: 77.81 kB / 1.477 GB, free: 219.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/2.951, allocations: 3.344 kB / 1.477 GB, free: 219.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002148/2.953, allocations: 332.7 kB / 1.477 GB, free: 219.9 MB / 0.698 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 () * 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.003143/2.956, allocations: 1.675 MB / 1.479 GB, free: 219.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002156/2.956, allocations: 114.8 kB / 1.479 GB, free: 219.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/2.956, allocations: 0 / 1.479 GB, free: 219.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/2.956, allocations: 109.2 kB / 1.479 GB, free: 219.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/2.956, allocations: 17.52 kB / 1.479 GB, free: 219.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/2.957, allocations: 339.8 kB / 1.48 GB, free: 219 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/2.958, allocations: 0.7168 MB / 1.48 GB, free: 218.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001327/2.958, allocations: 42.83 kB / 1.48 GB, free: 218.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/2.958, allocations: 42.61 kB / 1.48 GB, free: 218.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/2.958, allocations: 0 / 1.48 GB, free: 218.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/3.004, allocations: 14.19 MB / 1.494 GB, free: 214.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/3.004, allocations: 156.3 kB / 1.494 GB, free: 214.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/5.18, allocations: 0 / 1.494 GB, free: 214.2 MB / 0.698 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)