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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 173.9 kB / 23.2 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.932/0.932, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5742/0.5742, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5542 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.392e-05, allocations: 5.234 kB / 0.5542 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1083/0.1083, allocations: 119.2 MB / 0.6705 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.1144, allocations: 7.231 MB / 0.6776 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.1144, allocations: 4 kB / 0.6776 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1146, allocations: 23.8 kB / 0.6776 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1147, allocations: 19.84 kB / 0.6776 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.1168, allocations: 1.47 MB / 0.6791 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.117, allocations: 75.64 kB / 0.6791 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.117, allocations: 7.984 kB / 0.6791 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1171, allocations: 55.81 kB / 0.6792 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.1172, allocations: 27.97 kB / 0.6792 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1172, allocations: 0 / 0.6792 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3119/0.4291, allocations: 2.617 MB / 0.6818 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.4291, allocations: 17.31 kB / 0.6818 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.4292, allocations: 23.17 kB / 0.6818 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.4315, allocations: 1.802 MB / 0.6836 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4315, allocations: 0 / 0.6836 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4315, allocations: 1.203 kB / 0.6836 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4315, allocations: 3.031 kB / 0.6836 GB, free: 43.5 MB / 0.6355 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.0007398/0.4322, allocations: 436.7 kB / 0.684 GB, free: 43.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4323, allocations: 9.781 kB / 0.684 GB, free: 43.19 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.4323, allocations: 41.03 kB / 0.684 GB, free: 43.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.4325, allocations: 24.12 kB / 0.6841 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.14e-05/0.4326, allocations: 108.7 kB / 0.6842 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.4326, allocations: 64.73 kB / 0.6842 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4326, allocations: 4.031 kB / 0.6842 GB, free: 42.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4329, allocations: 152 kB / 0.6844 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4329, allocations: 6.875 kB / 0.6844 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.4329, allocations: 0 / 0.6844 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4329, allocations: 0.7188 kB / 0.6844 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.4331, allocations: 116.4 kB / 0.6845 GB, free: 42.89 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.4335, allocations: 299 kB / 0.6848 GB, free: 42.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4336, allocations: 121.4 kB / 0.6849 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.4337, allocations: 46.31 kB / 0.6849 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/0.4389, allocations: 3.044 MB / 0.6879 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4389, allocations: 37.47 kB / 0.688 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.4389, allocations: 0.9062 kB / 0.688 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003145/0.4392, allocations: 171.8 kB / 0.6881 GB, free: 42.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.4393, allocations: 52.34 kB / 0.6882 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.4393, allocations: 98.95 kB / 0.6883 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.4393, allocations: 29.33 kB / 0.6883 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.4393, allocations: 87.53 kB / 0.6884 GB, free: 42.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.4394, allocations: 55.06 kB / 0.6884 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4394, allocations: 25.62 kB / 0.6885 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.4394, allocations: 321.8 kB / 0.6888 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.4394, allocations: 23.69 kB / 0.6888 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.4395, allocations: 24.53 kB / 0.6888 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.4395, allocations: 75.59 kB / 0.6889 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4395, allocations: 2.156 kB / 0.6889 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001057/0.4397, allocations: 108.5 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.4397, allocations: 2.906 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4397, allocations: 0 / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4397, allocations: 3.688 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.4398, allocations: 28.19 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4398, allocations: 0.875 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.4398, allocations: 6.641 kB / 0.689 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.4398, allocations: 7.469 kB / 0.689 GB, free: 41.85 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.4398, allocations: 115.8 kB / 0.6891 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.4399, allocations: 9.312 kB / 0.6891 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4401, allocations: 383.3 kB / 0.6895 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4401, allocations: 7.234 kB / 0.6895 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4401, allocations: 0 / 0.6895 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4401, allocations: 0 / 0.6895 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4403, allocations: 259.4 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4403, allocations: 0 / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.4403, allocations: 21.17 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4403, allocations: 0.875 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4403, allocations: 6.188 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4403, allocations: 1 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4403, allocations: 0.8438 kB / 0.6898 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.4405, allocations: 343.2 kB / 0.6901 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.4406, allocations: 32.14 kB / 0.6902 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.4406, allocations: 0 / 0.6902 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.4407, allocations: 6.844 kB / 0.6902 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.4407, allocations: 9.406 kB / 0.6902 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4407, allocations: 11.81 kB / 0.6902 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.632e-05/0.4407, allocations: 82.53 kB / 0.6903 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4407, allocations: 0.8438 kB / 0.6903 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004506/0.4411, allocations: 306.8 kB / 0.6906 GB, free: 41.23 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.4422, allocations: 1.198 MB / 0.6917 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.4424, allocations: 135 kB / 0.6919 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4424, allocations: 0 / 0.6919 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.967e-05/0.4424, allocations: 93.98 kB / 0.6919 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.4426, allocations: 9.281 kB / 0.692 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.4432, allocations: 433.3 kB / 0.6924 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.4433, allocations: 106.4 kB / 0.6925 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.842e-05/0.4433, allocations: 41 kB / 0.6925 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.4434, allocations: 37.42 kB / 0.6925 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4434, allocations: 0.875 kB / 0.6925 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.4657, allocations: 12.42 MB / 0.7047 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.835, allocations: 8.875 kB / 0.7047 GB, free: 38.96 MB / 0.6355 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.453705101273954] Failed to read output from testmodel.py, exit status != 0: 7.917956467717886 7.930864251 7.496770768 Calling exit ...