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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 113.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 196.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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.002338/0.002338, allocations: 276.3 kB / 303.6 MB, free: 3.715 MB / 238.1 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.9939/0.9939, allocations: 180.9 MB / 0.5268 GB, free: 2.715 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002693/0.002693, allocations: 103.8 kB / 0.7259 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4953, allocations: 94.16 MB / 0.8178 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1632/0.6586, allocations: 135.9 MB / 0.9506 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009475/0.6681, allocations: 7.955 MB / 0.9584 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.6681, allocations: 4 kB / 0.9584 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.6683, allocations: 27.83 kB / 0.9584 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.6684, allocations: 19.84 kB / 0.9584 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.6718, allocations: 1.459 MB / 0.9598 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.6719, allocations: 79.52 kB / 0.9599 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.672, allocations: 8 kB / 0.9599 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.6721, allocations: 43.83 kB / 0.96 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.6722, allocations: 23.92 kB / 0.96 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.6722, allocations: 4 kB / 0.96 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004308/0.6765, allocations: 2.719 MB / 0.9626 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.6765, allocations: 19.91 kB / 0.9627 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.6766, allocations: 27.86 kB / 0.9627 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.6785, allocations: 1.376 MB / 0.964 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6785, allocations: 0 / 0.964 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6785, allocations: 0 / 0.964 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6785, allocations: 3.938 kB / 0.964 GB, free: 11.07 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.001015/0.6795, allocations: 0.4984 MB / 0.9645 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.6795, allocations: 16.03 kB / 0.9645 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.6799, allocations: 20.88 kB / 0.9646 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.68, allocations: 172.3 kB / 0.9647 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.6801, allocations: 34.27 kB / 0.9648 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.6801, allocations: 11.88 kB / 0.9648 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.6805, allocations: 123.2 kB / 0.9649 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6805, allocations: 3.938 kB / 0.9649 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.6805, allocations: 4 kB / 0.9649 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6805, allocations: 0 / 0.9649 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.6808, allocations: 119.9 kB / 0.965 GB, free: 9.977 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.0005159/0.6814, allocations: 376 kB / 0.9654 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.6816, allocations: 114.6 kB / 0.9655 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.6817, allocations: 40.84 kB / 0.9655 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.6929, allocations: 4.238 MB / 0.9697 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.6929, allocations: 30.56 kB / 0.9697 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.6929, allocations: 4 kB / 0.9697 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0004727/0.6934, allocations: 169.5 kB / 0.9698 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.6934, allocations: 51.41 kB / 0.9699 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.6935, allocations: 97.84 kB / 0.97 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6935, allocations: 33.7 kB / 0.97 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.6936, allocations: 84.22 kB / 0.9701 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.6936, allocations: 47.62 kB / 0.9701 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.6937, allocations: 25.7 kB / 0.9702 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6938, allocations: 326.8 kB / 0.9705 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.6938, allocations: 23.98 kB / 0.9705 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.6939, allocations: 27.98 kB / 0.9705 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.694, allocations: 71.53 kB / 0.9706 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.694, allocations: 0 / 0.9706 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001858/0.6942, allocations: 109.6 kB / 0.9707 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6942, allocations: 4 kB / 0.9707 GB, free: 3.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6942, allocations: 4 kB / 0.9707 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6942, allocations: 0 / 0.9707 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.6943, allocations: 23.98 kB / 0.9707 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6943, allocations: 7.938 kB / 0.9707 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.6944, allocations: 19.83 kB / 0.9708 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.6944, allocations: 0 / 0.9708 GB, free: 3.621 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 8.735e-05/0.6945, allocations: 117.8 kB / 0.9709 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.6945, allocations: 4 kB / 0.9709 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.695, allocations: 372.1 kB / 0.9712 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.695, allocations: 7.984 kB / 0.9712 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.695, allocations: 0 / 0.9712 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.695, allocations: 7.938 kB / 0.9713 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.6953, allocations: 273.4 kB / 0.9715 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6953, allocations: 0 / 0.9715 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.6954, allocations: 27.92 kB / 0.9715 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6954, allocations: 0 / 0.9715 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6955, allocations: 4 kB / 0.9715 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6955, allocations: 0 / 0.9715 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6955, allocations: 0 / 0.9715 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.6958, allocations: 335.2 kB / 0.9719 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.6959, allocations: 108.9 kB / 0.972 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6959, allocations: 4 kB / 0.972 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.696, allocations: 7.984 kB / 0.972 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.6961, allocations: 11.98 kB / 0.972 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6961, allocations: 11.88 kB / 0.972 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.6961, allocations: 83.27 kB / 0.9721 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.6961, allocations: 0 / 0.9721 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007197/0.6969, allocations: 299.7 kB / 0.9724 GB, free: 1.875 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.00121/0.6981, allocations: 399 kB / 0.9727 GB, free: 1.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.6983, allocations: 123.9 kB / 0.9729 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6983, allocations: 0 / 0.9729 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6984, allocations: 83.97 kB / 0.9729 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6987, allocations: 19.98 kB / 0.973 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.6992, allocations: 339.7 kB / 0.9733 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6995, allocations: 0.7166 MB / 0.974 GB, free: 148 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.6995, allocations: 19.42 kB / 0.974 GB, free: 132 kB / 0.7012 GB Notification: Performance of SimCode: time 3.3e-07/0.6995, allocations: 0 / 0.974 GB, free: 132 kB / 0.7012 GB Notification: Performance of Templates: time 0.00943/0.709, allocations: 6.752 MB / 0.9806 GB, free: 9.371 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.593700658995658] Failed to read output from testmodel.py, exit status != 0: 0.7165955740492791 0.728157252 0.047041625000000004 Calling exit ...