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.0009045/0.0009045, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009421/0.0009421, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9318/0.9318, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 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.002694/0.002694, allocations: 245 kB / 260.2 MB, free: 12.82 MB / 250.7 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.7355/0.7355, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.217e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3626/0.3627, allocations: 131.3 MB / 0.6833 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007/0.3697, allocations: 7.941 MB / 0.6911 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.3697, allocations: 3.562 kB / 0.6911 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.3699, allocations: 30.2 kB / 0.6911 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.37, allocations: 14.73 kB / 0.6911 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.3733, allocations: 1.475 MB / 0.6925 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3734, allocations: 69.84 kB / 0.6926 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.3734, allocations: 11.61 kB / 0.6926 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3735, allocations: 61.66 kB / 0.6927 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.3736, allocations: 23.7 kB / 0.6927 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3736, allocations: 2.938 kB / 0.6927 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.3769, allocations: 2.622 MB / 0.6953 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.3769, allocations: 19.91 kB / 0.6953 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.377, allocations: 19.94 kB / 0.6953 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.3792, allocations: 1.802 MB / 0.6971 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3792, allocations: 0 / 0.6971 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3792, allocations: 0 / 0.6971 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3793, allocations: 0 / 0.6971 GB, free: 11.05 MB / 0.5105 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.0008463/0.3801, allocations: 0.5167 MB / 0.6976 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3801, allocations: 16.73 kB / 0.6976 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.3805, allocations: 52.58 kB / 0.6976 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.122e-05/0.3806, allocations: 120.5 kB / 0.6978 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.3806, allocations: 55.97 kB / 0.6978 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3806, allocations: 8.375 kB / 0.6978 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3809, allocations: 146.1 kB / 0.698 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3809, allocations: 3.938 kB / 0.698 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3809, allocations: 4 kB / 0.698 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3809, allocations: 4 kB / 0.698 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.3811, allocations: 83.91 kB / 0.698 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.3814, allocations: 327.6 kB / 0.6984 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3816, allocations: 123 kB / 0.6985 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.3817, allocations: 39.67 kB / 0.6985 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/0.388, allocations: 3.046 MB / 0.7015 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3881, allocations: 49.31 kB / 0.7015 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.3881, allocations: 7.984 kB / 0.7015 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003845/0.3884, allocations: 159.1 kB / 0.7017 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.3885, allocations: 51.41 kB / 0.7017 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.416e-05/0.3885, allocations: 161.9 kB / 0.7019 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.3885, allocations: 25.7 kB / 0.7019 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.3885, allocations: 130.9 kB / 0.702 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3886, allocations: 47.55 kB / 0.7021 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3886, allocations: 39.36 kB / 0.7021 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/0.3886, allocations: 496.1 kB / 0.7026 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.3887, allocations: 19.98 kB / 0.7026 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.3887, allocations: 24.98 kB / 0.7026 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.393e-05/0.3888, allocations: 60.62 kB / 0.7027 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3888, allocations: 3.938 kB / 0.7027 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001426/0.3889, allocations: 102.7 kB / 0.7028 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3889, allocations: 7.984 kB / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3889, allocations: 0 / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.389, allocations: 0 / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.3891, allocations: 27.92 kB / 0.7028 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3891, allocations: 3.516 kB / 0.7028 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.3891, allocations: 7.953 kB / 0.7028 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3891, allocations: 4 kB / 0.7029 GB, free: 4.914 MB / 0.5105 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.143e-05/0.3892, allocations: 168.5 kB / 0.703 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.3892, allocations: 11.89 kB / 0.703 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3895, allocations: 262.2 kB / 0.7033 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3895, allocations: 11.98 kB / 0.7033 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3895, allocations: 0.6875 kB / 0.7033 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3895, allocations: 0 / 0.7033 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3896, allocations: 204.3 kB / 0.7035 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3896, allocations: 3.938 kB / 0.7035 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.3897, allocations: 23.42 kB / 0.7035 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3897, allocations: 0 / 0.7035 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3897, allocations: 12 kB / 0.7035 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3897, allocations: 0 / 0.7035 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3897, allocations: 0 / 0.7035 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.3899, allocations: 339.6 kB / 0.7038 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.39, allocations: 31.7 kB / 0.7039 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.39, allocations: 4 kB / 0.7039 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.39, allocations: 7.984 kB / 0.7039 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3901, allocations: 7.984 kB / 0.7039 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3901, allocations: 8 kB / 0.7039 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.3901, allocations: 127.2 kB / 0.704 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3901, allocations: 0 / 0.704 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000673/0.3908, allocations: 311.6 kB / 0.7043 GB, free: 3.344 MB / 0.5105 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.001032/0.3918, allocations: 443.7 kB / 0.7047 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.392, allocations: 92.84 kB / 0.7048 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.392, allocations: 0 / 0.7048 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.392, allocations: 80.56 kB / 0.7049 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3923, allocations: 27.86 kB / 0.7049 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.3929, allocations: 299.5 kB / 0.7052 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.393, allocations: 71.84 kB / 0.7053 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.259e-05/0.3931, allocations: 29.23 kB / 0.7053 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.3931, allocations: 20.48 kB / 0.7053 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of SimCode: time 6.72e-07/0.3931, allocations: 0 / 0.7053 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.01247/0.4056, allocations: 11.75 MB / 0.7168 GB, free: 6.602 MB / 0.5261 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: 4.575711474288255]