Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",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.001666/0.001666, allocations: 173.7 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5276/0.5276, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 101.9 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.028e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.617/1.767, allocations: 0.6426 GB / 1.196 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.767, allocations: 75.64 kB / 1.196 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1487/1.916, allocations: 63.86 MB / 1.259 GB, free: 16.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/1.916, allocations: 4 kB / 1.259 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.916, allocations: 0 / 1.259 GB, free: 16.48 MB / 0.6042 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.001586/1.918, allocations: 0.4986 MB / 1.259 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.918, allocations: 8.031 kB / 1.259 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/1.918, allocations: 19.89 kB / 1.259 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/1.918, allocations: 174.9 kB / 1.259 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/1.918, allocations: 33.69 kB / 1.259 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.919, allocations: 7.938 kB / 1.259 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/1.919, allocations: 87.91 kB / 1.259 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/1.919, allocations: 73.66 kB / 1.26 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.919, allocations: 0 / 1.26 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.919, allocations: 0 / 1.26 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.919, allocations: 0 / 1.26 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/1.919, allocations: 305.2 kB / 1.26 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.919, allocations: 106.6 kB / 1.26 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/1.919, allocations: 40.86 kB / 1.26 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009979/1.929, allocations: 4.172 MB / 1.264 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/1.929, allocations: 38.56 kB / 1.264 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/1.929, allocations: 0 / 1.264 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005275/1.93, allocations: 113.5 kB / 1.264 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/1.93, allocations: 59.34 kB / 1.264 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/1.93, allocations: 96.98 kB / 1.264 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.93, allocations: 29.64 kB / 1.264 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/1.93, allocations: 80.14 kB / 1.264 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/1.93, allocations: 43.5 kB / 1.264 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/1.93, allocations: 0 / 1.264 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/1.93, allocations: 322.8 kB / 1.265 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/1.93, allocations: 20 kB / 1.265 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/1.93, allocations: 20.62 kB / 1.265 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.931, allocations: 33.11 kB / 1.265 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.931, allocations: 0 / 1.265 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002244/1.931, allocations: 93.67 kB / 1.265 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.931, allocations: 11.94 kB / 1.265 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.931, allocations: 4 kB / 1.265 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.931, allocations: 4 kB / 1.265 GB, free: 9.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/1.931, allocations: 23.92 kB / 1.265 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/1.931, allocations: 0 / 1.265 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/1.931, allocations: 7.844 kB / 1.265 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.931, allocations: 4 kB / 1.265 GB, free: 9.465 MB / 0.6042 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 7.762e-05/1.931, allocations: 101 kB / 1.265 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002452/1.931, allocations: 102.4 kB / 1.265 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/1.932, allocations: 15.8 kB / 1.265 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/1.932, allocations: 360.4 kB / 1.266 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.932, allocations: 11.98 kB / 1.266 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.932, allocations: 0 / 1.266 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.932, allocations: 0 / 1.266 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/1.932, allocations: 245.9 kB / 1.266 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.932, allocations: 0 / 1.266 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/1.932, allocations: 23.98 kB / 1.266 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.932, allocations: 3.953 kB / 1.266 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.932, allocations: 0 / 1.266 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.932, allocations: 4 kB / 1.266 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.932, allocations: 3.938 kB / 1.266 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/1.933, allocations: 320.9 kB / 1.266 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/1.933, allocations: 108.9 kB / 1.266 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/1.933, allocations: 0 / 1.266 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.933, allocations: 15.89 kB / 1.266 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/1.933, allocations: 7.984 kB / 1.266 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.933, allocations: 7.938 kB / 1.266 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.555e-05/1.933, allocations: 79.28 kB / 1.266 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/1.933, allocations: 4 kB / 1.266 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001914/1.935, allocations: 327.8 kB / 1.267 GB, free: 7.668 MB / 0.6042 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.003211/1.938, allocations: 1.667 MB / 1.268 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001708/1.938, allocations: 123.9 kB / 1.268 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.938, allocations: 0 / 1.268 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/1.938, allocations: 107.9 kB / 1.268 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/1.939, allocations: 11.98 kB / 1.269 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/1.94, allocations: 338.2 kB / 1.269 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/1.94, allocations: 0.7244 MB / 1.27 GB, free: 4.625 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001126/1.94, allocations: 32.28 kB / 1.27 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/1.94, allocations: 39.42 kB / 1.27 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/1.94, allocations: 0 / 1.27 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3459/2.286, allocations: 14.17 MB / 1.283 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.286, allocations: 141.9 kB / 1.284 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/4.34, allocations: 1.062 kB / 1.284 GB, free: 162.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)