Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 193.9 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 278.4 kB / 307 MB, free: 8.387 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.179/1.179, allocations: 180.8 MB / 0.5304 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 99.41 kB / 0.7311 GB, free: 38.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1603, allocations: 94.21 MB / 0.8231 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0507/0.211, allocations: 49.62 MB / 0.8715 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02008/0.231, allocations: 13.85 MB / 0.885 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.2335, allocations: 95.25 kB / 0.8851 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.236, allocations: 0.8382 MB / 0.886 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00654/0.2426, allocations: 2.391 MB / 0.8883 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.2461, allocations: 1.379 MB / 0.8896 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02377/0.2699, allocations: 20.11 MB / 0.9093 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/0.2813, allocations: 6.451 MB / 0.9156 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.2947, allocations: 6.66 MB / 0.9221 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.3051, allocations: 6.043 MB / 0.928 GB, free: 6.055 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002882/0.3079, allocations: 0.8476 MB / 0.9288 GB, free: 5.207 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006013/0.314, allocations: 1.487 MB / 0.9303 GB, free: 3.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.3181, allocations: 2.204 MB / 0.9324 GB, free: 1.508 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009422/0.3275, allocations: 4.295 MB / 0.9366 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.3456, allocations: 12.07 MB / 0.9484 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.3456, allocations: 3.984 kB / 0.9484 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3456, allocations: 0 / 0.9484 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005022/0.3461, allocations: 0 / 0.9484 GB, free: 1.078 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02132/0.3674, allocations: 7.846 MB / 0.9561 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3675, allocations: 8.031 kB / 0.9561 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.3717, allocations: 0.8243 MB / 0.9569 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.3854, allocations: 6.376 MB / 0.9631 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/0.3858, allocations: 419.4 kB / 0.9635 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.3877, allocations: 0.5428 MB / 0.964 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.4077, allocations: 8.061 MB / 0.9719 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.4079, allocations: 19.83 kB / 0.9719 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001554/0.4095, allocations: 240 kB / 0.9722 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.4097, allocations: 171.9 kB / 0.9723 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.4243, allocations: 6.52 MB / 0.9787 GB, free: 1.66 MB / 0.7169 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.05025/0.4746, allocations: 31.06 MB / 1.009 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3922/0.8668, allocations: 3.425 MB / 1.012 GB, free: 170.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.8706, allocations: 2.569 MB / 1.015 GB, free: 170.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006718/0.8713, allocations: 163.8 kB / 1.015 GB, free: 170.4 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.904e-05/0.8714, allocations: 68.25 kB / 1.015 GB, free: 170.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 4.408e-06/0.8714, allocations: 0.5938 kB / 1.015 GB, free: 170.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.011/0.8824, allocations: 5.627 MB / 1.021 GB, free: 168.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.8824, allocations: 81.36 kB / 1.021 GB, free: 168.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007712/0.8902, allocations: 5.25 MB / 1.026 GB, free: 167 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005931/0.8908, allocations: 77.52 kB / 1.026 GB, free: 166.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.8925, allocations: 2.932 MB / 1.029 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/0.8934, allocations: 0.981 MB / 1.03 GB, free: 164.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007735/0.8942, allocations: 0.7186 MB / 1.03 GB, free: 164.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.8942, allocations: 305 kB / 1.031 GB, free: 163.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.8964, allocations: 1.673 MB / 1.032 GB, free: 163.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.8989, allocations: 2.934 MB / 1.035 GB, free: 161.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004617/0.9035, allocations: 4.972 MB / 1.04 GB, free: 157.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/0.9036, allocations: 11.06 kB / 1.04 GB, free: 157.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007164/0.9107, allocations: 5.447 MB / 1.045 GB, free: 154 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.9108, allocations: 27.94 kB / 1.045 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.9108, allocations: 40 kB / 1.045 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/0.9116, allocations: 426.5 kB / 1.046 GB, free: 153.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.9141, allocations: 0.8546 MB / 1.047 GB, free: 152.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.9181, allocations: 5.49 MB / 1.052 GB, free: 147 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/0.9218, allocations: 0.5408 MB / 1.053 GB, free: 146.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.9221, allocations: 180 kB / 1.053 GB, free: 146.4 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003025/0.9251, allocations: 2.283 MB / 1.055 GB, free: 144.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.9262, allocations: 0.5016 MB / 1.055 GB, free: 143.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.9315, allocations: 4.172 MB / 1.06 GB, free: 139.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.9315, allocations: 27.98 kB / 1.06 GB, free: 139.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9315, allocations: 8 kB / 1.06 GB, free: 139.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003648/0.9351, allocations: 3.628 MB / 1.063 GB, free: 135.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.951, allocations: 10.29 MB / 1.073 GB, free: 125.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.9511, allocations: 10.08 kB / 1.073 GB, free: 125.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/0.9529, allocations: 0.5032 MB / 1.074 GB, free: 124.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007095/0.9536, allocations: 369.3 kB / 1.074 GB, free: 124.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/0.9538, allocations: 79.95 kB / 1.074 GB, free: 124.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004076/0.9579, allocations: 5.434 MB / 1.079 GB, free: 118.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.9579, allocations: 8 kB / 1.079 GB, free: 118.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/0.966, allocations: 6.267 MB / 1.086 GB, free: 112.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00281/0.9689, allocations: 1.079 MB / 1.087 GB, free: 111.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001297/0.9702, allocations: 71.41 kB / 1.087 GB, free: 111.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/0.9734, allocations: 169.8 kB / 1.087 GB, free: 111 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.9737, allocations: 189.5 kB / 1.087 GB, free: 110.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00031/0.974, allocations: 132.4 kB / 1.087 GB, free: 110.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006069/0.9801, allocations: 3.843 MB / 1.091 GB, free: 106.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9801, allocations: 0 / 1.091 GB, free: 106.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005944/0.986, allocations: 1.805 MB / 1.093 GB, free: 105.1 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.9874, allocations: 496.1 kB / 1.093 GB, free: 104.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005913/0.9934, allocations: 4.134 MB / 1.097 GB, free: 100.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.9934, allocations: 4 kB / 1.097 GB, free: 100.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.996, allocations: 1.927 MB / 1.099 GB, free: 98.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01438/1.01, allocations: 3.455 MB / 1.102 GB, free: 95.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.029, allocations: 12.76 MB / 1.115 GB, free: 82.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/1.033, allocations: 4.303 MB / 1.119 GB, free: 78.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00547/1.038, allocations: 1.853 MB / 1.121 GB, free: 76.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.04, allocations: 419.2 kB / 1.121 GB, free: 75.84 MB / 0.7481 GB Notification: Performance of SimCode: time 1.613e-06/1.04, allocations: 0 / 1.121 GB, free: 75.84 MB / 0.7481 GB Notification: Performance of Templates: time 0.1597/1.199, allocations: 116.8 MB / 1.235 GB, free: 8.242 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.457291619000898] Failed to read output from testmodel.py, exit status != 0: 1.208178692999354 1.22252438 0.8737271200000001 Calling exit ...