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.000965/0.000965, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009723/0.0009723, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9299/0.9299, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001574/0.001574, allocations: 228.3 kB / 261.3 MB, free: 12.66 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.7482/0.7482, allocations: 138.4 MB / 456.3 MB, free: 30.05 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 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 1.293e-06/1.293e-06, allocations: 0 / 0.5563 GB, free: 15.94 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.052e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3733/0.3734, allocations: 128.8 MB / 0.6821 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006927/0.3803, allocations: 7.843 MB / 0.6898 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.3804, allocations: 4 kB / 0.6898 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.3805, allocations: 28.47 kB / 0.6898 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.3806, allocations: 18.7 kB / 0.6898 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.3843, allocations: 1.473 MB / 0.6913 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3844, allocations: 76.94 kB / 0.6913 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.3844, allocations: 6.859 kB / 0.6913 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3846, allocations: 56.25 kB / 0.6914 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.3846, allocations: 31.98 kB / 0.6914 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3846, allocations: 3.625 kB / 0.6914 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.3881, allocations: 2.621 MB / 0.694 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.3881, allocations: 12.55 kB / 0.694 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.3882, allocations: 26.5 kB / 0.694 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.391, allocations: 1.796 MB / 0.6958 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.391, allocations: 1.031 kB / 0.6958 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.153e-06/0.391, allocations: 0 / 0.6958 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.391, allocations: 1.094 kB / 0.6958 GB, free: 52.9 MB / 0.5573 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.001332/0.3923, allocations: 0.5157 MB / 0.6963 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3924, allocations: 11.97 kB / 0.6963 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.3926, allocations: 60.31 kB / 0.6964 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.3927, allocations: 122.4 kB / 0.6965 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.3927, allocations: 55.81 kB / 0.6965 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3927, allocations: 8.188 kB / 0.6965 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3929, allocations: 135.6 kB / 0.6967 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3929, allocations: 5.625 kB / 0.6967 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3929, allocations: 5.406 kB / 0.6967 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3929, allocations: 1.469 kB / 0.6967 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3931, allocations: 79.61 kB / 0.6967 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.3934, allocations: 304 kB / 0.697 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.3935, allocations: 110.1 kB / 0.6971 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.3936, allocations: 38 kB / 0.6972 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005719/0.3993, allocations: 2.585 MB / 0.6997 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3993, allocations: 34.64 kB / 0.6997 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.3993, allocations: 1.531 kB / 0.6997 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0003126/0.3996, allocations: 148.6 kB / 0.6999 GB, free: 51.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.3997, allocations: 53.56 kB / 0.6999 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.321e-05/0.3997, allocations: 163.3 kB / 0.7001 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.3997, allocations: 26.52 kB / 0.7001 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.3997, allocations: 132.3 kB / 0.7002 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3998, allocations: 49.56 kB / 0.7003 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.3998, allocations: 38.11 kB / 0.7003 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.3998, allocations: 499 kB / 0.7008 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.3999, allocations: 15.78 kB / 0.7008 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.3999, allocations: 13.34 kB / 0.7008 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.4, allocations: 55.56 kB / 0.7009 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4, allocations: 0 / 0.7009 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001168/0.4001, allocations: 101.8 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4001, allocations: 5.438 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4001, allocations: 0.875 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.4001, allocations: 1.094 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.4002, allocations: 22.45 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.4002, allocations: 2.141 kB / 0.701 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.4002, allocations: 5.391 kB / 0.701 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4002, allocations: 6.375 kB / 0.701 GB, free: 50.4 MB / 0.5573 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.998e-05/0.4003, allocations: 168.5 kB / 0.7012 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4003, allocations: 18.48 kB / 0.7012 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4006, allocations: 238.6 kB / 0.7014 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.4006, allocations: 6.359 kB / 0.7014 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.4006, allocations: 3.938 kB / 0.7014 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4006, allocations: 0 / 0.7014 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4007, allocations: 176 kB / 0.7016 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4007, allocations: 1.203 kB / 0.7016 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.4008, allocations: 25.77 kB / 0.7016 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4008, allocations: 1.188 kB / 0.7016 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4008, allocations: 8.969 kB / 0.7016 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4008, allocations: 1.125 kB / 0.7016 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4008, allocations: 0 / 0.7016 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.401, allocations: 326.9 kB / 0.7019 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.401, allocations: 34.17 kB / 0.702 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.4011, allocations: 5.281 kB / 0.702 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.4011, allocations: 12.64 kB / 0.702 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.4011, allocations: 11.83 kB / 0.702 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4011, allocations: 4.016 kB / 0.702 GB, free: 49.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.748e-05/0.4012, allocations: 124.5 kB / 0.7021 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4012, allocations: 0 / 0.7021 GB, free: 49.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001059/0.4022, allocations: 309.7 kB / 0.7024 GB, free: 49.55 MB / 0.5573 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.0009917/0.4032, allocations: 454.3 kB / 0.7029 GB, free: 49.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.4033, allocations: 82.58 kB / 0.7029 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4033, allocations: 0 / 0.7029 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.4034, allocations: 66.02 kB / 0.703 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4036, allocations: 37.14 kB / 0.703 GB, free: 49.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.4042, allocations: 290.8 kB / 0.7033 GB, free: 49.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.4042, allocations: 73.91 kB / 0.7034 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.898e-05/0.4043, allocations: 31.67 kB / 0.7034 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.4044, allocations: 107.2 kB / 0.7035 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/0.4044, allocations: 0 / 0.7035 GB, free: 49.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.01213/0.4165, allocations: 11.43 MB / 0.7147 GB, free: 44.86 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: 4.731657953001559]