Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001378/0.001378, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001493/0.001493, allocations: 214.6 kB / 23.01 MB, free: 5.109 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.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.002534/0.002534, allocations: 290.9 kB / 313.5 MB, free: 2.805 MB / 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.203/1.203, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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 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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 102.6 kB / 0.7408 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1703, allocations: 95.39 MB / 0.834 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06124/0.2316, allocations: 57.18 MB / 0.8898 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.257, allocations: 18.19 MB / 0.9076 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.2599, allocations: 99.19 kB / 0.9077 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.2628, allocations: 0.9235 MB / 0.9086 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007546/0.2703, allocations: 2.691 MB / 0.9112 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.2747, allocations: 1.607 MB / 0.9127 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02621/0.3009, allocations: 21.8 MB / 0.934 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.312, allocations: 7.09 MB / 0.941 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.3275, allocations: 7.345 MB / 0.9481 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.3393, allocations: 6.67 MB / 0.9547 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002802/0.3421, allocations: 0.9375 MB / 0.9556 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.349, allocations: 1.784 MB / 0.9573 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004142/0.3531, allocations: 2.422 MB / 0.9597 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.3631, allocations: 4.711 MB / 0.9643 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.3825, allocations: 13.29 MB / 0.9773 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.3825, allocations: 0 / 0.9773 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3825, allocations: 0 / 0.9773 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004868/0.383, allocations: 0 / 0.9773 GB, free: 4.844 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.7769/1.16, allocations: 8.633 MB / 0.9857 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.16, allocations: 9.906 kB / 0.9857 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/1.165, allocations: 0.958 MB / 0.9866 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/1.179, allocations: 6.764 MB / 0.9932 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005299/1.18, allocations: 458 kB / 0.9937 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.182, allocations: 0.6046 MB / 0.9943 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/1.204, allocations: 9.038 MB / 1.003 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/1.205, allocations: 28.02 kB / 1.003 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009111/1.206, allocations: 257.5 kB / 1.003 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002/1.206, allocations: 180.6 kB / 1.004 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.219, allocations: 7.465 MB / 1.011 GB, free: 122.7 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.04054/1.259, allocations: 35.99 MB / 1.046 GB, free: 85.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004737/1.264, allocations: 4.012 MB / 1.05 GB, free: 81.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/1.267, allocations: 3.027 MB / 1.053 GB, free: 78.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/1.268, allocations: 222.2 kB / 1.053 GB, free: 78.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002853/1.271, allocations: 2.394 MB / 1.055 GB, free: 76.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002354/1.273, allocations: 398.6 kB / 1.056 GB, free: 75.83 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 6.532e-06/1.273, allocations: 0 / 1.056 GB, free: 75.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01032/1.284, allocations: 6.997 MB / 1.063 GB, free: 68.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.284, allocations: 85.91 kB / 1.063 GB, free: 68.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006996/1.291, allocations: 5.686 MB / 1.068 GB, free: 63.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000686/1.291, allocations: 89.7 kB / 1.068 GB, free: 62.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00231/1.294, allocations: 3.274 MB / 1.072 GB, free: 59.63 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.295, allocations: 1.166 MB / 1.073 GB, free: 58.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009574/1.296, allocations: 0.8585 MB / 1.074 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.914e-05/1.296, allocations: 309.1 kB / 1.074 GB, free: 57.28 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/1.299, allocations: 2.16 MB / 1.076 GB, free: 55.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/1.302, allocations: 3.697 MB / 1.08 GB, free: 50.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005969/1.308, allocations: 6.319 MB / 1.086 GB, free: 43.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/1.308, allocations: 16 kB / 1.086 GB, free: 43.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008699/1.316, allocations: 6.786 MB / 1.092 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.316, allocations: 53.89 kB / 1.092 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/1.316, allocations: 52 kB / 1.092 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/1.317, allocations: 438.1 kB / 1.093 GB, free: 36.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/1.32, allocations: 1.002 MB / 1.094 GB, free: 35.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/1.325, allocations: 5.499 MB / 1.099 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/1.33, allocations: 291 kB / 1.099 GB, free: 29.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006961/1.331, allocations: 219.9 kB / 1.1 GB, free: 29.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.003808/1.335, allocations: 2.486 MB / 1.102 GB, free: 26.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.336, allocations: 0.5512 MB / 1.103 GB, free: 26.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007223/1.343, allocations: 5.259 MB / 1.108 GB, free: 20.72 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.343, allocations: 32 kB / 1.108 GB, free: 20.69 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.343, allocations: 4 kB / 1.108 GB, free: 20.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0049/1.348, allocations: 4.529 MB / 1.112 GB, free: 16.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.367, allocations: 12.02 MB / 1.124 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.367, allocations: 0 / 1.124 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.37, allocations: 0.6438 MB / 1.125 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007427/1.37, allocations: 373.3 kB / 1.125 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/1.371, allocations: 83.95 kB / 1.125 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/1.376, allocations: 5.414 MB / 1.13 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.376, allocations: 0 / 1.13 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/1.389, allocations: 7.783 MB / 1.138 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004396/1.393, allocations: 1.143 MB / 1.139 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001849/1.395, allocations: 67.66 kB / 1.139 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/1.399, allocations: 201.3 kB / 1.139 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.399, allocations: 210 kB / 1.14 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/1.4, allocations: 135.9 kB / 1.14 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.006967/1.407, allocations: 3.974 MB / 1.144 GB, free: 15.59 MB / 0.7482 GB Notification: Performance of sort global known variables: time 2.1e-07/1.407, allocations: 4 kB / 1.144 GB, free: 15.58 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.00758/1.414, allocations: 2.02 MB / 1.145 GB, free: 13.56 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001378/1.415, allocations: 486.1 kB / 1.146 GB, free: 13.08 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009466/1.425, allocations: 5.241 MB / 1.151 GB, free: 7.789 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.425, allocations: 4 kB / 1.151 GB, free: 7.785 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.004467/1.429, allocations: 2.365 MB / 1.153 GB, free: 5.391 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/1.445, allocations: 3.398 MB / 1.157 GB, free: 2.102 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.471, allocations: 14.23 MB / 1.171 GB, free: 3.805 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006186/1.477, allocations: 4.549 MB / 1.175 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.48, allocations: 499.2 kB / 1.176 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of SimCode: time 1.563e-06/1.48, allocations: 0 / 1.176 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.6022/2.082, allocations: 188.5 MB / 1.36 GB, free: 310.9 MB / 0.92 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 26.171097724931315] Failed to read output from testmodel.py, exit status != 0: 2.0899312649853528 2.099479795 1.71437185 Calling exit ...