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.00147/0.00147, allocations: 78.66 kB / 19 MB, free: 2.867 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.00162/0.00162, allocations: 162.7 kB / 22.26 MB, free: 5.133 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.458/1.458, allocations: 177.2 MB / 202.6 MB, free: 9.27 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.00272/0.00272, allocations: 230.4 kB / 259.2 MB, free: 0.5938 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.087/1.087, allocations: 138.5 MB / 454.2 MB, free: 2.059 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.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.003393/0.003393, allocations: 103.8 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4459, allocations: 95.35 MB / 0.7397 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05827/0.5042, allocations: 51.31 MB / 0.7898 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.5315, allocations: 16.77 MB / 0.8062 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.5344, allocations: 103.2 kB / 0.8063 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.5385, allocations: 0.9041 MB / 0.8072 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009727/0.5482, allocations: 2.667 MB / 0.8098 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.5535, allocations: 1.57 MB / 0.8113 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02978/0.5833, allocations: 22.01 MB / 0.8328 GB, free: 15.63 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01468/0.598, allocations: 7.105 MB / 0.8397 GB, free: 8.402 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02939/0.6274, allocations: 10.35 MB / 0.8499 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01595/0.6433, allocations: 6.974 MB / 0.8567 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004416/0.6477, allocations: 0.9414 MB / 0.8576 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008007/0.6558, allocations: 1.581 MB / 0.8591 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004971/0.6607, allocations: 2.434 MB / 0.8615 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.6713, allocations: 3.86 MB / 0.8653 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.6911, allocations: 13.32 MB / 0.8783 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6911, allocations: 4 kB / 0.8783 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6911, allocations: 0 / 0.8783 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000497/0.6916, allocations: 3.938 kB / 0.8783 GB, free: 0.8516 MB / 0.7012 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.02398/0.7156, allocations: 8.645 MB / 0.8867 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7157, allocations: 9.344 kB / 0.8867 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/0.7205, allocations: 0.9605 MB / 0.8877 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.7353, allocations: 6.771 MB / 0.8943 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/0.7358, allocations: 460.4 kB / 0.8947 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.7377, allocations: 0.6014 MB / 0.8953 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.762, allocations: 10.09 MB / 0.9052 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/0.7623, allocations: 15.88 kB / 0.9052 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/0.7644, allocations: 264 kB / 0.9054 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.7646, allocations: 176 kB / 0.9056 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.7823, allocations: 7.457 MB / 0.9129 GB, free: 12.66 MB / 0.7481 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.05812/0.8404, allocations: 26.35 MB / 0.9386 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4237/1.264, allocations: 3.968 MB / 0.9425 GB, free: 181.2 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005504/1.27, allocations: 3.024 MB / 0.9455 GB, free: 180.3 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.271, allocations: 201.5 kB / 0.9457 GB, free: 180.3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005234/1.276, allocations: 3.454 MB / 0.949 GB, free: 178.1 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002748/1.279, allocations: 324.2 kB / 0.9493 GB, free: 178.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=317): time 1.669e-05/1.279, allocations: 0 / 0.9493 GB, free: 178.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=317): time 0.01302/1.292, allocations: 6.943 MB / 0.9561 GB, free: 176 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.292, allocations: 88.84 kB / 0.9562 GB, free: 175.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005949/1.298, allocations: 4.986 MB / 0.9611 GB, free: 174.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006108/1.298, allocations: 92.11 kB / 0.9612 GB, free: 174.2 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002573/1.301, allocations: 3.279 MB / 0.9644 GB, free: 172.3 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.302, allocations: 1.165 MB / 0.9655 GB, free: 171.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/1.303, allocations: 0.8593 MB / 0.9663 GB, free: 171 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/1.303, allocations: 304.9 kB / 0.9666 GB, free: 170.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.306, allocations: 2.191 MB / 0.9688 GB, free: 168.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/1.309, allocations: 3.83 MB / 0.9725 GB, free: 164.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/1.315, allocations: 6.319 MB / 0.9787 GB, free: 157.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/1.315, allocations: 16 kB / 0.9787 GB, free: 157.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009316/1.324, allocations: 6.767 MB / 0.9853 GB, free: 150.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/1.325, allocations: 56.2 kB / 0.9854 GB, free: 150.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/1.325, allocations: 48 kB / 0.9854 GB, free: 150.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008821/1.325, allocations: 432.2 kB / 0.9858 GB, free: 150 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/1.329, allocations: 1.01 MB / 0.9868 GB, free: 149 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/1.333, allocations: 5.379 MB / 0.992 GB, free: 143.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/1.338, allocations: 290.4 kB / 0.9923 GB, free: 143.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004381/1.338, allocations: 216 kB / 0.9925 GB, free: 143 MB / 0.7637 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.00361/1.342, allocations: 2.479 MB / 0.995 GB, free: 140.6 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/1.343, allocations: 0.4929 MB / 0.9954 GB, free: 140.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/1.35, allocations: 5.198 MB / 1.001 GB, free: 134.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.35, allocations: 32 kB / 1.001 GB, free: 134.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.35, allocations: 4 kB / 1.001 GB, free: 134.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005298/1.355, allocations: 4.525 MB / 1.005 GB, free: 130.2 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/1.373, allocations: 10.44 MB / 1.015 GB, free: 119.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.373, allocations: 0 / 1.015 GB, free: 119.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.376, allocations: 0.6427 MB / 1.016 GB, free: 119.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/1.377, allocations: 378.1 kB / 1.016 GB, free: 118.7 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/1.377, allocations: 83.95 kB / 1.016 GB, free: 118.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004059/1.381, allocations: 5.276 MB / 1.021 GB, free: 113.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.381, allocations: 0 / 1.021 GB, free: 113.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009891/1.391, allocations: 7.684 MB / 1.029 GB, free: 105.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003364/1.394, allocations: 1.071 MB / 1.03 GB, free: 104.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.395, allocations: 71.92 kB / 1.03 GB, free: 104.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003794/1.399, allocations: 192.7 kB / 1.03 GB, free: 104.1 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/1.399, allocations: 218 kB / 1.03 GB, free: 103.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004475/1.4, allocations: 141 kB / 1.031 GB, free: 103.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00579/1.406, allocations: 3.384 MB / 1.034 GB, free: 100.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.406, allocations: 0 / 1.034 GB, free: 100.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006948/1.413, allocations: 2.083 MB / 1.036 GB, free: 98.46 MB / 0.7637 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.001345/1.414, allocations: 485.4 kB / 1.036 GB, free: 98.01 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.008105/1.422, allocations: 5.261 MB / 1.041 GB, free: 92.69 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.422, allocations: 0 / 1.041 GB, free: 92.69 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/1.426, allocations: 2.363 MB / 1.044 GB, free: 90.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01533/1.441, allocations: 2.767 MB / 1.046 GB, free: 87.63 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.465, allocations: 13.98 MB / 1.06 GB, free: 73.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005834/1.471, allocations: 4.146 MB / 1.064 GB, free: 69.41 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006405/1.477, allocations: 1.872 MB / 1.066 GB, free: 67.56 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.479, allocations: 436.3 kB / 1.066 GB, free: 67.14 MB / 0.7637 GB Notification: Performance of SimCode: time 1.834e-06/1.479, allocations: 0 / 1.066 GB, free: 67.14 MB / 0.7637 GB Notification: Performance of Templates: time 0.1546/1.634, allocations: 103.1 MB / 1.167 GB, free: 13.59 MB / 0.8106 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: 10.213433759287] Failed to read output from testmodel.py, exit status != 0: 1.6443276684731245 1.659408858 0.964859201 Calling exit ...