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.0009997/0.0009997, allocations: 92.22 kB / 19.65 MB, free: 276 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.001189/0.001189, allocations: 169 kB / 23.02 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.9976/0.9976, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001662/0.001662, allocations: 237.6 kB / 260.2 MB, free: 12.84 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.7768/0.7768, allocations: 138.4 MB / 455.2 MB, free: 1.508 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 1.924e-06/1.924e-06, allocations: 0 / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.188e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3503/0.3504, allocations: 131.3 MB / 0.6833 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005365/0.3557, allocations: 7.95 MB / 0.6911 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.3558, allocations: 0 / 0.6911 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.356, allocations: 21.41 kB / 0.6911 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.191e-05/0.356, allocations: 22.77 kB / 0.6911 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.3585, allocations: 1.468 MB / 0.6925 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3586, allocations: 78.05 kB / 0.6926 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3587, allocations: 11.41 kB / 0.6926 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3588, allocations: 57.75 kB / 0.6927 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.3589, allocations: 23.47 kB / 0.6927 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3589, allocations: 5.781 kB / 0.6927 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3614, allocations: 2.62 MB / 0.6953 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3615, allocations: 19.91 kB / 0.6953 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.3615, allocations: 19.98 kB / 0.6953 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.3628, allocations: 1.798 MB / 0.6971 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3628, allocations: 4 kB / 0.6971 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3628, allocations: 0 / 0.6971 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3628, allocations: 3.984 kB / 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.000649/0.3635, allocations: 0.5167 MB / 0.6976 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3635, allocations: 8.75 kB / 0.6976 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.3638, allocations: 52.58 kB / 0.6976 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6e-05/0.3638, allocations: 128.5 kB / 0.6977 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.3639, allocations: 59.97 kB / 0.6978 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3639, allocations: 4.375 kB / 0.6978 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3641, allocations: 146.1 kB / 0.698 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3641, allocations: 3.938 kB / 0.698 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3641, allocations: 0 / 0.698 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3641, allocations: 4 kB / 0.698 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3643, allocations: 95.83 kB / 0.698 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.3645, allocations: 315.6 kB / 0.6984 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3647, allocations: 123 kB / 0.6985 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.3647, allocations: 39.67 kB / 0.6985 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004973/0.3697, allocations: 3.05 MB / 0.7015 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3697, allocations: 37.39 kB / 0.7015 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3697, allocations: 3.984 kB / 0.7015 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003092/0.37, allocations: 159.7 kB / 0.7017 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3701, allocations: 55.41 kB / 0.7017 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/0.3701, allocations: 165.9 kB / 0.7019 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.3701, allocations: 29.7 kB / 0.7019 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.3701, allocations: 130.9 kB / 0.702 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3702, allocations: 47.53 kB / 0.7021 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3702, allocations: 43.3 kB / 0.7021 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.3703, allocations: 496.1 kB / 0.7026 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.3703, allocations: 19.92 kB / 0.7026 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.3703, allocations: 23.98 kB / 0.7026 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.3704, allocations: 61.67 kB / 0.7027 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3704, allocations: 3.938 kB / 0.7027 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001017/0.3705, allocations: 101.7 kB / 0.7028 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3705, allocations: 4 kB / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3705, allocations: 0 / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3705, allocations: 0 / 0.7028 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.3706, allocations: 31.92 kB / 0.7028 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3706, allocations: 3.516 kB / 0.7028 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.3706, allocations: 3.953 kB / 0.7028 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3706, allocations: 4 kB / 0.7028 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 3.922e-05/0.3707, allocations: 168.5 kB / 0.703 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.3707, allocations: 15.89 kB / 0.703 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3709, allocations: 270.5 kB / 0.7033 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3709, allocations: 4 kB / 0.7033 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3709, allocations: 0.6875 kB / 0.7033 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3709, allocations: 3.984 kB / 0.7033 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.371, allocations: 192.5 kB / 0.7035 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.371, allocations: 3.938 kB / 0.7035 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.79e-05/0.3711, allocations: 27.42 kB / 0.7035 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3711, allocations: 0 / 0.7035 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3711, allocations: 7.984 kB / 0.7035 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3711, allocations: 0 / 0.7035 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.3711, allocations: 0 / 0.7035 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.3713, allocations: 343.6 kB / 0.7038 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.3713, allocations: 35.75 kB / 0.7039 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.3713, allocations: 0 / 0.7039 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.3714, allocations: 8 kB / 0.7039 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.3714, allocations: 7.984 kB / 0.7039 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.3714, allocations: 7.984 kB / 0.7039 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.481e-05/0.3714, allocations: 123.2 kB / 0.704 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3714, allocations: 4 kB / 0.704 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000411/0.3718, allocations: 303.6 kB / 0.7043 GB, free: 3.352 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.0008218/0.3726, allocations: 445.9 kB / 0.7047 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3728, allocations: 103.6 kB / 0.7048 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3728, allocations: 0 / 0.7048 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.3728, allocations: 76.58 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.0002217/0.373, allocations: 31.91 kB / 0.7049 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.3736, allocations: 291 kB / 0.7052 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.3736, allocations: 75.84 kB / 0.7053 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.3737, allocations: 32.62 kB / 0.7053 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.3737, allocations: 24.44 kB / 0.7053 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.3737, allocations: 0 / 0.7053 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of Templates: time 0.009463/0.3832, allocations: 10.33 MB / 0.7154 GB, free: 7.977 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.644491157028824]