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.001495/0.001495, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001972/0.001972, allocations: 173 kB / 23.49 MB, free: 1.062 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.9878/0.9878, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.00179/0.00179, allocations: 234.2 kB / 260.5 MB, free: 12.89 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.6913/0.6913, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.232e-06/1.232e-06, allocations: 0 / 0.555 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.957e-05, allocations: 5.547 kB / 0.555 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3519/0.3519, allocations: 131 MB / 0.683 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.357, allocations: 7.931 MB / 0.6907 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.357, allocations: 4 kB / 0.6907 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.3572, allocations: 13.33 kB / 0.6907 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.3572, allocations: 23.28 kB / 0.6907 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.3593, allocations: 1.478 MB / 0.6922 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.3594, allocations: 73.61 kB / 0.6923 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.3595, allocations: 3.891 kB / 0.6923 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3596, allocations: 61.47 kB / 0.6923 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.745e-05/0.3597, allocations: 29.73 kB / 0.6923 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3597, allocations: 3.531 kB / 0.6923 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3619, allocations: 2.621 MB / 0.6949 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3619, allocations: 15.92 kB / 0.6949 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.362, allocations: 19.97 kB / 0.6949 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.3634, allocations: 1.805 MB / 0.6967 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3634, allocations: 0 / 0.6967 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3634, allocations: 0 / 0.6967 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3634, allocations: 4 kB / 0.6967 GB, free: 11.58 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.0007134/0.3641, allocations: 0.5167 MB / 0.6972 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3642, allocations: 8.75 kB / 0.6972 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.3645, allocations: 60.56 kB / 0.6973 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.526e-05/0.3645, allocations: 112.6 kB / 0.6974 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.3646, allocations: 59.97 kB / 0.6974 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3646, allocations: 4.375 kB / 0.6974 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3648, allocations: 148.5 kB / 0.6976 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.3648, allocations: 3.938 kB / 0.6976 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3649, allocations: 0 / 0.6976 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3649, allocations: 4 kB / 0.6976 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.365, allocations: 91.89 kB / 0.6977 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.3653, allocations: 315.6 kB / 0.698 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3655, allocations: 127 kB / 0.6981 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3655, allocations: 43.66 kB / 0.6981 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004845/0.3704, allocations: 3.046 MB / 0.7011 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.3704, allocations: 41.33 kB / 0.7012 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3704, allocations: 0 / 0.7012 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003658/0.3708, allocations: 167.5 kB / 0.7013 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3708, allocations: 59.39 kB / 0.7014 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.3708, allocations: 153.9 kB / 0.7015 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3708, allocations: 33.7 kB / 0.7016 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.3709, allocations: 126.9 kB / 0.7017 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3709, allocations: 51.52 kB / 0.7017 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3709, allocations: 35.36 kB / 0.7018 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.371, allocations: 0.4884 MB / 0.7022 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.371, allocations: 19.98 kB / 0.7023 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.3711, allocations: 21.61 kB / 0.7023 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.98e-05/0.3711, allocations: 59.67 kB / 0.7023 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3711, allocations: 3.938 kB / 0.7023 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000121/0.3713, allocations: 108 kB / 0.7024 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3713, allocations: 4 kB / 0.7024 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3713, allocations: 0 / 0.7024 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3713, allocations: 0 / 0.7024 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.3714, allocations: 23.98 kB / 0.7025 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3714, allocations: 4 kB / 0.7025 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.3714, allocations: 3.953 kB / 0.7025 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3714, allocations: 9.812 kB / 0.7025 GB, free: 5.449 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.097e-05/0.3715, allocations: 164.5 kB / 0.7026 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.3715, allocations: 19.89 kB / 0.7027 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.3718, allocations: 266.3 kB / 0.7029 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.3718, allocations: 7.984 kB / 0.7029 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3718, allocations: 0 / 0.7029 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3718, allocations: 192 / 0.7029 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3719, allocations: 192.5 kB / 0.7031 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3719, allocations: 11.11 kB / 0.7031 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.372, allocations: 16 kB / 0.7031 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.372, allocations: 7.922 kB / 0.7031 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.372, allocations: 3.984 kB / 0.7031 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.372, allocations: 4 kB / 0.7031 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.372, allocations: 4 kB / 0.7031 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3722, allocations: 335.6 kB / 0.7035 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.3722, allocations: 39.69 kB / 0.7035 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3722, allocations: 0 / 0.7035 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.3723, allocations: 8 kB / 0.7035 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.3723, allocations: 7.984 kB / 0.7035 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3723, allocations: 7.984 kB / 0.7035 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.3723, allocations: 123.2 kB / 0.7036 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3723, allocations: 0 / 0.7036 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004817/0.3728, allocations: 307.6 kB / 0.7039 GB, free: 3.887 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.0008731/0.3737, allocations: 442.7 kB / 0.7044 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3739, allocations: 91.64 kB / 0.7044 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3739, allocations: 4 kB / 0.7045 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/0.3739, allocations: 77.98 kB / 0.7045 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3741, allocations: 37.28 kB / 0.7046 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.3748, allocations: 290.3 kB / 0.7048 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.3748, allocations: 79.84 kB / 0.7049 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.897e-05/0.3749, allocations: 30.61 kB / 0.7049 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3749, allocations: 20.5 kB / 0.705 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.3749, allocations: 0 / 0.705 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of Templates: time 0.009721/0.3846, allocations: 10.34 MB / 0.7151 GB, free: 8.516 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.203436414944008]