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.0009996/0.0009996, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.00229, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002341, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9713/0.9713, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1242/1.096, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.001273/0.001273, allocations: 239.9 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.002333, allocations: 467 kB / 244.7 MB, free: 14.18 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.7091/0.7091, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07386/0.7829, allocations: 42.4 MB / 426.5 MB, free: 5.953 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.723e-06/1.723e-06, allocations: 0 / 427.8 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.902e-05, allocations: 2.312 kB / 427.8 MB, free: 4.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3294/0.3294, allocations: 131.2 MB / 0.5459 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006671/0.3361, allocations: 7.973 MB / 0.5536 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.3361, allocations: 0 / 0.5536 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3362, allocations: 23.83 kB / 0.5537 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.3363, allocations: 19.84 kB / 0.5537 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.3388, allocations: 1.315 MB / 0.555 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3389, allocations: 71.66 kB / 0.555 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.3389, allocations: 9.312 kB / 0.555 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3391, allocations: 63.81 kB / 0.5551 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.3391, allocations: 27.91 kB / 0.5551 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3392, allocations: 4 kB / 0.5551 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.3424, allocations: 2.778 MB / 0.5578 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.3424, allocations: 8 kB / 0.5579 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3424, allocations: 23.92 kB / 0.5579 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.3441, allocations: 1.322 MB / 0.5592 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.3442, allocations: 0 / 0.5592 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3442, allocations: 0 / 0.5592 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.3442, allocations: 0 / 0.5592 GB, free: 15.85 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.000854/0.345, allocations: 0.5688 MB / 0.5597 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.3451, allocations: 8.031 kB / 0.5597 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.3453, allocations: 60.59 kB / 0.5598 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.247e-05/0.3454, allocations: 115.3 kB / 0.5599 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.3454, allocations: 59.97 kB / 0.56 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3454, allocations: 4.375 kB / 0.56 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3456, allocations: 143.4 kB / 0.5601 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.3456, allocations: 3.938 kB / 0.5601 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3456, allocations: 0 / 0.5601 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3456, allocations: 8 kB / 0.5601 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3458, allocations: 84.77 kB / 0.5602 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.346, allocations: 217.8 kB / 0.5604 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3462, allocations: 99.2 kB / 0.5605 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.3462, allocations: 25.73 kB / 0.5605 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004593/0.3508, allocations: 2.66 MB / 0.5631 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3508, allocations: 34.5 kB / 0.5631 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3508, allocations: 0 / 0.5631 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002409/0.351, allocations: 133.5 kB / 0.5633 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3511, allocations: 51.41 kB / 0.5633 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.3511, allocations: 107.6 kB / 0.5634 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3511, allocations: 29.7 kB / 0.5635 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.3512, allocations: 84.89 kB / 0.5635 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3512, allocations: 47.56 kB / 0.5636 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.3512, allocations: 25.7 kB / 0.5636 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.3513, allocations: 318.8 kB / 0.5639 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.3513, allocations: 11.98 kB / 0.5639 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.3513, allocations: 18.06 kB / 0.5639 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.3514, allocations: 40.83 kB / 0.564 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3514, allocations: 4 kB / 0.564 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.475e-05/0.3515, allocations: 86.72 kB / 0.5641 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3515, allocations: 4 kB / 0.5641 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3515, allocations: 0 / 0.5641 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.3515, allocations: 0 / 0.5641 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.3516, allocations: 27.92 kB / 0.5641 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.3516, allocations: 0 / 0.5641 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.3516, allocations: 15.89 kB / 0.5641 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3516, allocations: 0 / 0.5641 GB, free: 10.61 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.413e-05/0.3517, allocations: 121.8 kB / 0.5642 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3517, allocations: 15.92 kB / 0.5642 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.3519, allocations: 258.2 kB / 0.5645 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3519, allocations: 15.92 kB / 0.5645 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3519, allocations: 1.828 kB / 0.5645 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3519, allocations: 0 / 0.5645 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.352, allocations: 134 kB / 0.5646 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.352, allocations: 0 / 0.5646 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.3521, allocations: 28.55 kB / 0.5647 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3521, allocations: 27.77 kB / 0.5647 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3521, allocations: 3.938 kB / 0.5647 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3521, allocations: 12 kB / 0.5647 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3521, allocations: 6.969 kB / 0.5647 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3521, allocations: 0 / 0.5647 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3523, allocations: 290.4 kB / 0.565 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3523, allocations: 7.922 kB / 0.565 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.3524, allocations: 8 kB / 0.565 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.3524, allocations: 3.984 kB / 0.565 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3524, allocations: 11.98 kB / 0.565 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.138e-05/0.3524, allocations: 8.859 kB / 0.565 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.1e-08/0.3524, allocations: 0 / 0.565 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005343/0.353, allocations: 303.6 kB / 0.5653 GB, free: 9.324 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.0007979/0.3538, allocations: 468 kB / 0.5658 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3539, allocations: 81.2 kB / 0.5658 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3539, allocations: 0 / 0.5658 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.3539, allocations: 62.58 kB / 0.5659 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.3541, allocations: 41.25 kB / 0.5659 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3554, allocations: 295.2 kB / 0.5662 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.3554, allocations: 76.42 kB / 0.5663 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.819e-05/0.3555, allocations: 37.28 kB / 0.5663 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.3556, allocations: 81.31 kB / 0.5664 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.3556, allocations: 4 kB / 0.5664 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of Templates: time 0.01166/0.3672, allocations: 11.09 MB / 0.5772 GB, free: 13.27 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.8456325931474566]