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.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00145/0.00145, allocations: 212.1 kB / 22.25 MB, free: 5.262 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.812 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.002695/0.002695, allocations: 282.8 kB / 312.7 MB, free: 2.648 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.359/1.359, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 178] 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.003008/0.003008, allocations: 113 kB / 0.74 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2368, allocations: 95.38 MB / 0.8331 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06327/0.3001, allocations: 51.56 MB / 0.8835 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02768/0.3278, allocations: 16.82 MB / 0.8999 GB, free: 3.246 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.3312, allocations: 103.2 kB / 0.9 GB, free: 3.145 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.3346, allocations: 0.8963 MB / 0.9009 GB, free: 2.242 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.3447, allocations: 2.674 MB / 0.9035 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.3498, allocations: 1.571 MB / 0.905 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03172/0.3815, allocations: 22.01 MB / 0.9265 GB, free: 7.922 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.3968, allocations: 7.086 MB / 0.9334 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/0.4159, allocations: 7.387 MB / 0.9407 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.4317, allocations: 6.974 MB / 0.9475 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004377/0.436, allocations: 0.9414 MB / 0.9484 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008822/0.4449, allocations: 1.581 MB / 0.9499 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.005808/0.4507, allocations: 2.434 MB / 0.9523 GB, free: 13.38 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.462, allocations: 3.852 MB / 0.9561 GB, free: 9.516 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.02366/0.4857, allocations: 13.34 MB / 0.9691 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4857, allocations: 0 / 0.9691 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4857, allocations: 0 / 0.9691 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006467/0.4864, allocations: 0 / 0.9691 GB, free: 12.13 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.02869/0.5151, allocations: 8.638 MB / 0.9775 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5151, allocations: 9.344 kB / 0.9775 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/0.5217, allocations: 0.9527 MB / 0.9785 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8583/1.38, allocations: 6.762 MB / 0.9851 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/1.38, allocations: 458.7 kB / 0.9855 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.382, allocations: 0.6006 MB / 0.9861 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/1.403, allocations: 10.1 MB / 0.996 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/1.403, allocations: 19.17 kB / 0.996 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008662/1.404, allocations: 261.9 kB / 0.9962 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003709/1.404, allocations: 188.8 kB / 0.9964 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/1.42, allocations: 7.451 MB / 1.004 GB, free: 125.6 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.04843/1.469, allocations: 26.35 MB / 1.029 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/1.475, allocations: 3.975 MB / 1.033 GB, free: 98.62 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004441/1.479, allocations: 3.033 MB / 1.036 GB, free: 95.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/1.48, allocations: 199.4 kB / 1.036 GB, free: 95.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004295/1.484, allocations: 3.46 MB / 1.04 GB, free: 91.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002839/1.487, allocations: 319.7 kB / 1.04 GB, free: 91.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 2.49e-05/1.487, allocations: 1.469 kB / 1.04 GB, free: 91.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01473/1.502, allocations: 6.94 MB / 1.047 GB, free: 84.46 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.502, allocations: 85.91 kB / 1.047 GB, free: 84.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.512, allocations: 4.986 MB / 1.052 GB, free: 79.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009274/1.513, allocations: 85.7 kB / 1.052 GB, free: 79.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003329/1.517, allocations: 3.277 MB / 1.055 GB, free: 76.21 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.518, allocations: 1.169 MB / 1.056 GB, free: 75.06 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002589/1.521, allocations: 0.8649 MB / 1.057 GB, free: 74.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/1.521, allocations: 301.1 kB / 1.057 GB, free: 73.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/1.525, allocations: 2.19 MB / 1.06 GB, free: 71.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/1.529, allocations: 3.83 MB / 1.063 GB, free: 67.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/1.537, allocations: 6.32 MB / 1.069 GB, free: 60.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.997e-05/1.537, allocations: 12 kB / 1.069 GB, free: 60.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01221/1.549, allocations: 6.764 MB / 1.076 GB, free: 53.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/1.549, allocations: 49.7 kB / 1.076 GB, free: 53.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.53e-05/1.549, allocations: 51.98 kB / 1.076 GB, free: 53.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/1.55, allocations: 439.7 kB / 1.077 GB, free: 52.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/1.554, allocations: 1.006 MB / 1.078 GB, free: 51.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004858/1.559, allocations: 5.38 MB / 1.083 GB, free: 46.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/1.564, allocations: 283.6 kB / 1.083 GB, free: 45.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.565, allocations: 216 kB / 1.083 GB, free: 45.72 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.004802/1.569, allocations: 2.484 MB / 1.086 GB, free: 43.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/1.571, allocations: 0.4968 MB / 1.086 GB, free: 42.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/1.581, allocations: 5.204 MB / 1.091 GB, free: 37.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/1.581, allocations: 32 kB / 1.091 GB, free: 37.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.581, allocations: 4 kB / 1.091 GB, free: 37.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005818/1.586, allocations: 4.534 MB / 1.096 GB, free: 32.81 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.608, allocations: 10.43 MB / 1.106 GB, free: 22.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.608, allocations: 0 / 1.106 GB, free: 22.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/1.611, allocations: 0.6438 MB / 1.107 GB, free: 21.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007758/1.611, allocations: 372.1 kB / 1.107 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.612, allocations: 83.95 kB / 1.107 GB, free: 21.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00438/1.616, allocations: 5.273 MB / 1.112 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.616, allocations: 4 kB / 1.112 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.627, allocations: 7.686 MB / 1.12 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/1.63, allocations: 1.073 MB / 1.121 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.632, allocations: 67.92 kB / 1.121 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003655/1.635, allocations: 199.5 kB / 1.121 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/1.636, allocations: 210 kB / 1.121 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003701/1.636, allocations: 139.8 kB / 1.121 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005919/1.642, allocations: 3.396 MB / 1.125 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/1.642, allocations: 0 / 1.125 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006863/1.649, allocations: 2.089 MB / 1.127 GB, free: 0.8398 MB / 0.7169 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.001172/1.65, allocations: 470.8 kB / 1.127 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.66, allocations: 5.258 MB / 1.132 GB, free: 11.07 MB / 0.7326 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.66, allocations: 4 kB / 1.132 GB, free: 11.07 MB / 0.7326 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/1.665, allocations: 2.374 MB / 1.135 GB, free: 8.664 MB / 0.7326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01704/1.682, allocations: 2.775 MB / 1.137 GB, free: 5.996 MB / 0.7326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.715, allocations: 13.97 MB / 1.151 GB, free: 7.973 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005812/1.721, allocations: 4.15 MB / 1.155 GB, free: 3.781 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.007108/1.728, allocations: 1.871 MB / 1.157 GB, free: 1.93 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.73, allocations: 431.2 kB / 1.157 GB, free: 1.508 MB / 0.7482 GB Notification: Performance of SimCode: time 1.673e-06/1.73, allocations: 0 / 1.157 GB, free: 1.508 MB / 0.7482 GB Notification: Performance of Templates: time 0.1969/1.927, allocations: 113.1 MB / 1.268 GB, free: 1.836 MB / 0.8576 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: 11.408537771552801] Failed to read output from testmodel.py, exit status != 0: 1.9358714241534472 1.950116933 1.4610709370000001 Calling exit ...