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/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.0006329/0.0006329, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008979/0.001531, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006741/0.0006741, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008649/0.001539, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9732/0.9732, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00154/0.00154, allocations: 222.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.002727, allocations: 483.1 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6707/0.6707, allocations: 138.7 MB / 384.3 MB, free: 348 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/0.7525, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.041e-05, allocations: 6.312 kB / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3222/0.3222, allocations: 131.2 MB / 0.5461 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006896/0.3291, allocations: 7.975 MB / 0.5539 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3292, allocations: 0 / 0.5539 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3293, allocations: 19.91 kB / 0.5539 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.3293, allocations: 15.8 kB / 0.554 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.3322, allocations: 1.319 MB / 0.5552 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3323, allocations: 75.59 kB / 0.5553 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.3324, allocations: 9.312 kB / 0.5553 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3325, allocations: 63.81 kB / 0.5554 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.3326, allocations: 27.95 kB / 0.5554 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3326, allocations: 4 kB / 0.5554 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.3363, allocations: 2.782 MB / 0.5581 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.3363, allocations: 7.938 kB / 0.5581 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.3364, allocations: 19.94 kB / 0.5582 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.3387, allocations: 1.314 MB / 0.5594 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.3387, allocations: 0 / 0.5594 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3387, allocations: 0 / 0.5594 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.3387, allocations: 3.984 kB / 0.5594 GB, free: 15.6 MB / 0.5417 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.001065/0.3398, allocations: 0.5688 MB / 0.56 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3398, allocations: 8.031 kB / 0.56 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.3401, allocations: 60.59 kB / 0.5601 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.3402, allocations: 110.7 kB / 0.5602 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.3402, allocations: 55.97 kB / 0.5602 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.3403, allocations: 12.31 kB / 0.5602 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.3405, allocations: 147.4 kB / 0.5604 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3405, allocations: 3.938 kB / 0.5604 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3405, allocations: 0 / 0.5604 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3405, allocations: 5.688 kB / 0.5604 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3406, allocations: 79.91 kB / 0.5605 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.3409, allocations: 209.8 kB / 0.5607 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3411, allocations: 107.1 kB / 0.5608 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.3411, allocations: 30.84 kB / 0.5608 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004854/0.346, allocations: 2.657 MB / 0.5634 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.346, allocations: 34.56 kB / 0.5634 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.346, allocations: 0 / 0.5634 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002771/0.3463, allocations: 134.3 kB / 0.5635 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3463, allocations: 55.39 kB / 0.5636 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.3464, allocations: 106.7 kB / 0.5637 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3464, allocations: 29.7 kB / 0.5637 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.3464, allocations: 80.89 kB / 0.5638 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3464, allocations: 51.56 kB / 0.5639 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3465, allocations: 29.69 kB / 0.5639 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.3465, allocations: 310.8 kB / 0.5642 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3466, allocations: 15.98 kB / 0.5642 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.3466, allocations: 8 kB / 0.5642 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.3466, allocations: 51.05 kB / 0.5643 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3466, allocations: 4 kB / 0.5643 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.005e-05/0.3467, allocations: 86.92 kB / 0.5643 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3467, allocations: 4 kB / 0.5643 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3467, allocations: 0 / 0.5643 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3467, allocations: 4 kB / 0.5643 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.3468, allocations: 26.67 kB / 0.5644 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.3468, allocations: 0 / 0.5644 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.3469, allocations: 11.89 kB / 0.5644 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3469, allocations: 7.984 kB / 0.5644 GB, free: 10.35 MB / 0.5417 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 5.564e-05/0.3469, allocations: 113.8 kB / 0.5645 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.347, allocations: 15.94 kB / 0.5645 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3472, allocations: 257.7 kB / 0.5648 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3472, allocations: 7.984 kB / 0.5648 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3472, allocations: 7.938 kB / 0.5648 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3472, allocations: 1.078 kB / 0.5648 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3473, allocations: 134 kB / 0.5649 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3473, allocations: 0 / 0.5649 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.3474, allocations: 35.91 kB / 0.5649 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.3474, allocations: 23.78 kB / 0.565 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3474, allocations: 7.922 kB / 0.565 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3474, allocations: 8 kB / 0.565 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3474, allocations: 0 / 0.565 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3474, allocations: 0 / 0.565 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.3476, allocations: 290.5 kB / 0.5653 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.3476, allocations: 7.938 kB / 0.5653 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.3477, allocations: 4 kB / 0.5653 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.3477, allocations: 7.984 kB / 0.5653 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3477, allocations: 9.609 kB / 0.5653 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.3477, allocations: 9.703 kB / 0.5653 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3477, allocations: 0 / 0.5653 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006501/0.3484, allocations: 307.6 kB / 0.5656 GB, free: 9.074 MB / 0.5417 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.0009116/0.3493, allocations: 472.6 kB / 0.566 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3494, allocations: 68.72 kB / 0.5661 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3494, allocations: 4 kB / 0.5661 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.3496, allocations: 73.92 kB / 0.5662 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.3498, allocations: 98 kB / 0.5663 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3511, allocations: 291.7 kB / 0.5665 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.3512, allocations: 80.42 kB / 0.5666 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.3512, allocations: 32.36 kB / 0.5667 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.3513, allocations: 81.3 kB / 0.5667 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/0.3513, allocations: 0 / 0.5667 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of Templates: time 0.01225/0.3636, allocations: 11.15 MB / 0.5776 GB, free: 12.88 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7134768161922693]