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.00123/0.00123, allocations: 79.66 kB / 19.76 MB, free: 1.863 MB / 14.72 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.001333/0.001333, allocations: 158.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.348/1.348, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002322/0.002322, allocations: 232.1 kB / 260 MB, free: 452 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8792/0.8792, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 99.84 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4101, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1432/0.5533, allocations: 119.1 MB / 0.8568 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00921/0.5625, allocations: 7.228 MB / 0.8638 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.5626, allocations: 4 kB / 0.8638 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.5627, allocations: 19.84 kB / 0.8639 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.5628, allocations: 23.84 kB / 0.8639 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.5661, allocations: 1.46 MB / 0.8653 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5663, allocations: 79.64 kB / 0.8654 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.116e-05/0.5663, allocations: 4 kB / 0.8654 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.5664, allocations: 43.83 kB / 0.8654 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.5665, allocations: 23.92 kB / 0.8654 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.5665, allocations: 4 kB / 0.8655 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.5707, allocations: 2.618 MB / 0.868 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.5707, allocations: 19.91 kB / 0.868 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.5708, allocations: 27.86 kB / 0.8681 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.5725, allocations: 1.388 MB / 0.8694 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.5725, allocations: 0 / 0.8694 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5725, allocations: 0 / 0.8694 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5725, allocations: 0 / 0.8694 GB, free: 14.38 MB / 0.7012 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.0008499/0.5734, allocations: 437.2 kB / 0.8698 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.5734, allocations: 13.34 kB / 0.8698 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.5737, allocations: 24.88 kB / 0.8699 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5739, allocations: 114.5 kB / 0.87 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.5739, allocations: 63.91 kB / 0.87 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.574, allocations: 7.938 kB / 0.87 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.5743, allocations: 144.7 kB / 0.8702 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5743, allocations: 0 / 0.8702 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.5743, allocations: 4 kB / 0.8702 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5743, allocations: 4 kB / 0.8702 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.5746, allocations: 111.9 kB / 0.8703 GB, free: 13.4 MB / 0.7012 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.0004211/0.575, allocations: 268.4 kB / 0.8705 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.5753, allocations: 122.5 kB / 0.8707 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.5754, allocations: 40.84 kB / 0.8707 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.5868, allocations: 3.059 MB / 0.8737 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5869, allocations: 30.56 kB / 0.8737 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5869, allocations: 0 / 0.8737 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0004891/0.5874, allocations: 165.5 kB / 0.8739 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.5874, allocations: 55.41 kB / 0.8739 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.5875, allocations: 101.8 kB / 0.874 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5875, allocations: 33.64 kB / 0.8741 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.5875, allocations: 88.14 kB / 0.8741 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.5876, allocations: 51.53 kB / 0.8742 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.5876, allocations: 29.7 kB / 0.8742 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5878, allocations: 318.8 kB / 0.8745 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.5878, allocations: 27.98 kB / 0.8746 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.5879, allocations: 27.98 kB / 0.8746 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.588, allocations: 72.72 kB / 0.8746 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.588, allocations: 0 / 0.8746 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001874/0.5882, allocations: 105.6 kB / 0.8747 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5882, allocations: 8 kB / 0.8748 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5882, allocations: 0 / 0.8748 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5882, allocations: 4 kB / 0.8748 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.5884, allocations: 23.98 kB / 0.8748 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5884, allocations: 0 / 0.8748 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.5884, allocations: 3.953 kB / 0.8748 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5884, allocations: 8 kB / 0.8748 GB, free: 8.672 MB / 0.7012 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 9.484e-05/0.5885, allocations: 125.7 kB / 0.8749 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.5886, allocations: 7.953 kB / 0.8749 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.589, allocations: 376.1 kB / 0.8753 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5891, allocations: 11.98 kB / 0.8753 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5891, allocations: 0 / 0.8753 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5891, allocations: 0 / 0.8753 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.5893, allocations: 221 kB / 0.8755 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5893, allocations: 0 / 0.8755 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.5894, allocations: 23.92 kB / 0.8755 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5894, allocations: 0 / 0.8755 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.5894, allocations: 4 kB / 0.8755 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5894, allocations: 0 / 0.8755 GB, free: 7.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5894, allocations: 7.922 kB / 0.8755 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.5899, allocations: 340.3 kB / 0.8759 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.5899, allocations: 31.77 kB / 0.8759 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.5899, allocations: 4 kB / 0.8759 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5901, allocations: 11.98 kB / 0.8759 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.5901, allocations: 3.984 kB / 0.8759 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5901, allocations: 7.984 kB / 0.8759 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.5902, allocations: 83.28 kB / 0.876 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.5902, allocations: 0 / 0.876 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008625/0.591, allocations: 303.6 kB / 0.8763 GB, free: 7.078 MB / 0.7012 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.001215/0.5922, allocations: 403 kB / 0.8767 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.5925, allocations: 138.4 kB / 0.8768 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5925, allocations: 4 kB / 0.8768 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5926, allocations: 95.89 kB / 0.8769 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.5929, allocations: 19.98 kB / 0.8769 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.5936, allocations: 321.8 kB / 0.8772 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.5937, allocations: 102.4 kB / 0.8773 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.5938, allocations: 32.39 kB / 0.8774 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.5939, allocations: 20.5 kB / 0.8774 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.5939, allocations: 0 / 0.8774 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of Templates: time 0.01639/0.6103, allocations: 9.843 MB / 0.887 GB, free: 12.11 MB / 0.7169 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.050899395020679] Failed to read output from testmodel.py, exit status != 0: 0.6183261820115149 0.632418956 0.056978659 Calling exit ...