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.001423/0.001423, allocations: 84.73 kB / 19.44 MB, free: 356 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.001598/0.001598, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.49/1.49, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.002701/0.002701, allocations: 227.2 kB / 259.8 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 1.078/1.078, allocations: 138.4 MB / 454.7 MB, free: 1.441 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.723e-06/1.723e-06, allocations: 0 / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.534e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3486/0.3487, allocations: 119.2 MB / 0.6707 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007158/0.3558, allocations: 7.23 MB / 0.6777 GB, free: 24 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.3559, allocations: 3.938 kB / 0.6777 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3561, allocations: 21.11 kB / 0.6778 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.3561, allocations: 18.7 kB / 0.6778 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.3593, allocations: 1.466 MB / 0.6792 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3594, allocations: 84.86 kB / 0.6793 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.3594, allocations: 3.984 kB / 0.6793 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3595, allocations: 61.94 kB / 0.6793 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.3596, allocations: 29.22 kB / 0.6794 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3596, allocations: 3.031 kB / 0.6794 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.3631, allocations: 2.618 MB / 0.6819 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.3631, allocations: 10.62 kB / 0.6819 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3632, allocations: 25.36 kB / 0.682 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.365, allocations: 1.799 MB / 0.6837 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.365, allocations: 7.938 kB / 0.6837 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.492e-06/0.365, allocations: 0 / 0.6837 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.365, allocations: 0 / 0.6837 GB, free: 20.22 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.000786/0.3657, allocations: 430.9 kB / 0.6841 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3658, allocations: 11.28 kB / 0.6842 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.3662, allocations: 54.98 kB / 0.6842 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.146e-05/0.3662, allocations: 115.1 kB / 0.6843 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.3663, allocations: 62.73 kB / 0.6844 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3663, allocations: 5.531 kB / 0.6844 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.3666, allocations: 145.2 kB / 0.6845 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3666, allocations: 3.938 kB / 0.6845 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3666, allocations: 4 kB / 0.6845 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3666, allocations: 0 / 0.6845 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.3669, allocations: 127.4 kB / 0.6846 GB, free: 19.45 MB / 0.5105 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.0003364/0.3672, allocations: 257.7 kB / 0.6849 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3674, allocations: 123.2 kB / 0.685 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3675, allocations: 42.12 kB / 0.6851 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00946/0.3769, allocations: 3.041 MB / 0.688 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.377, allocations: 34.56 kB / 0.6881 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.377, allocations: 0 / 0.6881 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004597/0.3774, allocations: 182.7 kB / 0.6882 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3775, allocations: 55.41 kB / 0.6883 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.3775, allocations: 93.86 kB / 0.6884 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3775, allocations: 33.64 kB / 0.6884 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.3775, allocations: 92.12 kB / 0.6885 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3776, allocations: 39.66 kB / 0.6885 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.3776, allocations: 29.66 kB / 0.6886 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.3777, allocations: 322.8 kB / 0.6889 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.864e-05/0.3777, allocations: 20 kB / 0.6889 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.3777, allocations: 28.61 kB / 0.6889 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.3778, allocations: 66.97 kB / 0.689 GB, free: 16.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3778, allocations: 3.938 kB / 0.689 GB, free: 16.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001615/0.378, allocations: 113.6 kB / 0.6891 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.378, allocations: 7.938 kB / 0.6891 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.378, allocations: 4 kB / 0.6891 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.378, allocations: 5 kB / 0.6891 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3781, allocations: 27.92 kB / 0.6891 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3781, allocations: 0 / 0.6891 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3782, allocations: 3.953 kB / 0.6891 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3782, allocations: 11.98 kB / 0.6891 GB, free: 16.25 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.043e-05/0.3782, allocations: 117.8 kB / 0.6893 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.3783, allocations: 15.89 kB / 0.6893 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.3786, allocations: 373.9 kB / 0.6896 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3786, allocations: 8 kB / 0.6896 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3786, allocations: 4 kB / 0.6896 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3787, allocations: 7.609 kB / 0.6896 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3788, allocations: 209.1 kB / 0.6898 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3788, allocations: 7.938 kB / 0.6899 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.3789, allocations: 19.98 kB / 0.6899 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3789, allocations: 0 / 0.6899 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3789, allocations: 7.984 kB / 0.6899 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3789, allocations: 4 kB / 0.6899 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3789, allocations: 0 / 0.6899 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3792, allocations: 339.1 kB / 0.6902 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.3792, allocations: 31.77 kB / 0.6902 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3793, allocations: 11.98 kB / 0.6903 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3794, allocations: 4 kB / 0.6903 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3794, allocations: 7.984 kB / 0.6903 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3794, allocations: 11.98 kB / 0.6903 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.964e-05/0.3794, allocations: 79.28 kB / 0.6904 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3794, allocations: 0 / 0.6904 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007219/0.3802, allocations: 303.7 kB / 0.6906 GB, free: 14.66 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.001204/0.3814, allocations: 450.9 kB / 0.6911 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.3815, allocations: 125.8 kB / 0.6912 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3815, allocations: 0 / 0.6912 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.3816, allocations: 95.91 kB / 0.6913 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.382, allocations: 33.34 kB / 0.6913 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.3824, allocations: 313.7 kB / 0.6916 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.3824, allocations: 106.1 kB / 0.6917 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.3825, allocations: 31.7 kB / 0.6917 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.3825, allocations: 12.5 kB / 0.6918 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.3825, allocations: 0 / 0.6918 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.01096/0.3935, allocations: 10.05 MB / 0.7016 GB, free: 3.496 MB / 0.5105 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.151978862006217]