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.001356/0.001356, allocations: 78.88 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001424/0.001424, allocations: 168.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.002467/0.002467, allocations: 241.7 kB / 259.4 MB, free: 472 kB / 238.1 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.099/1.099, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.1 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.233e-06/1.233e-06, allocations: 0 / 0.6468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.792e-05, allocations: 9.734 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4531/0.4532, allocations: 119.2 MB / 0.7631 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009115/0.4623, allocations: 7.23 MB / 0.7702 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.4623, allocations: 4 kB / 0.7702 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.4625, allocations: 15.91 kB / 0.7702 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.4625, allocations: 19.8 kB / 0.7702 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.4661, allocations: 1.469 MB / 0.7717 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4662, allocations: 75.62 kB / 0.7717 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.4663, allocations: 4 kB / 0.7717 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.4664, allocations: 61.34 kB / 0.7718 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.4665, allocations: 31.91 kB / 0.7718 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4665, allocations: 0 / 0.7718 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.4708, allocations: 2.622 MB / 0.7744 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.4708, allocations: 15.92 kB / 0.7744 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.4709, allocations: 23.97 kB / 0.7744 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.4733, allocations: 1.801 MB / 0.7762 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4733, allocations: 0 / 0.7762 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4733, allocations: 0 / 0.7762 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.4734, allocations: 0 / 0.7762 GB, free: 12.05 MB / 0.6075 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.0009548/0.4743, allocations: 441.7 kB / 0.7766 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4743, allocations: 9.938 kB / 0.7766 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.4747, allocations: 24.88 kB / 0.7766 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4748, allocations: 113.7 kB / 0.7768 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/0.4749, allocations: 55.97 kB / 0.7768 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.4749, allocations: 8.375 kB / 0.7768 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.4753, allocations: 147.8 kB / 0.777 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4753, allocations: 7.781 kB / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4754, allocations: 4 kB / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4754, allocations: 0 / 0.777 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.4757, allocations: 119.9 kB / 0.7771 GB, free: 11.06 MB / 0.6075 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.0004485/0.4761, allocations: 264.4 kB / 0.7773 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.4764, allocations: 118.5 kB / 0.7774 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.4765, allocations: 44.83 kB / 0.7775 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.4882, allocations: 3.053 MB / 0.7805 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.4882, allocations: 30.56 kB / 0.7805 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.4882, allocations: 3.938 kB / 0.7805 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005376/0.4888, allocations: 162.6 kB / 0.7807 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4888, allocations: 55.41 kB / 0.7807 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.4889, allocations: 105.8 kB / 0.7808 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.4889, allocations: 29.64 kB / 0.7808 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.489, allocations: 84.14 kB / 0.7809 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.489, allocations: 47.53 kB / 0.781 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.4891, allocations: 29.7 kB / 0.781 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4892, allocations: 318.8 kB / 0.7813 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.007e-05/0.4893, allocations: 19.98 kB / 0.7813 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.4893, allocations: 34.36 kB / 0.7813 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.4894, allocations: 68.84 kB / 0.7814 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4895, allocations: 3.938 kB / 0.7814 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000208/0.4897, allocations: 109.7 kB / 0.7815 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4897, allocations: 4 kB / 0.7815 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4897, allocations: 0 / 0.7815 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4897, allocations: 0 / 0.7815 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4898, allocations: 23.92 kB / 0.7816 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4898, allocations: 4 kB / 0.7816 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.4899, allocations: 4.578 kB / 0.7816 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4899, allocations: 8 kB / 0.7816 GB, free: 6.359 MB / 0.6075 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 0.0001091/0.49, allocations: 117.8 kB / 0.7817 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.4901, allocations: 7.953 kB / 0.7817 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.4906, allocations: 385.1 kB / 0.7821 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.4906, allocations: 11.98 kB / 0.7821 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4906, allocations: 0 / 0.7821 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4906, allocations: 0 / 0.7821 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.4909, allocations: 215.6 kB / 0.7823 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4909, allocations: 10.28 kB / 0.7823 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.491, allocations: 19.98 kB / 0.7823 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.491, allocations: 0 / 0.7823 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.491, allocations: 0 / 0.7823 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.491, allocations: 4 kB / 0.7823 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.491, allocations: 4 kB / 0.7823 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.4914, allocations: 340.3 kB / 0.7826 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.4915, allocations: 31.7 kB / 0.7827 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.4915, allocations: 7.938 kB / 0.7827 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4916, allocations: 7.984 kB / 0.7827 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.4917, allocations: 11.98 kB / 0.7827 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.4917, allocations: 4 kB / 0.7827 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.4917, allocations: 83.27 kB / 0.7828 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.4917, allocations: 0 / 0.7828 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008836/0.4926, allocations: 303.7 kB / 0.7831 GB, free: 4.781 MB / 0.6075 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.001375/0.494, allocations: 450.9 kB / 0.7835 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4942, allocations: 134.1 kB / 0.7836 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4942, allocations: 0 / 0.7836 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4943, allocations: 95.89 kB / 0.7837 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4946, allocations: 20.59 kB / 0.7837 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.4952, allocations: 306.9 kB / 0.784 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.4953, allocations: 105.1 kB / 0.7841 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.58e-05/0.4954, allocations: 28.73 kB / 0.7842 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4954, allocations: 16.5 kB / 0.7842 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.4954, allocations: 0 / 0.7842 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of Templates: time 0.01544/0.5108, allocations: 9.886 MB / 0.7938 GB, free: 9.773 MB / 0.6231 GB " [Timeout remaining time 659] 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.3180679269135] Failed to read output from testmodel.py, exit status != 0: 0.5200158208608627 0.5334904770000001 0.057182544 Calling exit ...