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.001574/0.001574, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001725/0.001725, allocations: 218.5 kB / 23 MB, free: 4.914 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002903/0.002903, allocations: 285.8 kB / 313.5 MB, free: 2.605 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.231/1.231, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.002956/0.002956, allocations: 106.6 kB / 0.7407 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.188, allocations: 95.38 MB / 0.8339 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06218/0.2501, allocations: 51.57 MB / 0.8842 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02785/0.278, allocations: 16.83 MB / 0.9006 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.281, allocations: 99.19 kB / 0.9007 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/0.2842, allocations: 0.8963 MB / 0.9016 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008548/0.2927, allocations: 2.667 MB / 0.9042 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.2975, allocations: 1.574 MB / 0.9058 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02862/0.3262, allocations: 22.02 MB / 0.9273 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01379/0.3399, allocations: 7.093 MB / 0.9342 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.3559, allocations: 7.382 MB / 0.9414 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01406/0.37, allocations: 6.974 MB / 0.9482 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00325/0.3732, allocations: 0.9414 MB / 0.9491 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.3799, allocations: 1.577 MB / 0.9507 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004515/0.3844, allocations: 2.437 MB / 0.953 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009711/0.3941, allocations: 3.856 MB / 0.9568 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01887/0.413, allocations: 13.33 MB / 0.9698 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.413, allocations: 0 / 0.9698 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.413, allocations: 4 kB / 0.9698 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004155/0.4134, allocations: 0 / 0.9698 GB, free: 12.1 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.02224/0.4357, allocations: 8.638 MB / 0.9783 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4357, allocations: 9.344 kB / 0.9783 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.4399, allocations: 0.9604 MB / 0.9792 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3955/0.8354, allocations: 6.757 MB / 0.9858 GB, free: 134 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/0.8361, allocations: 458.1 kB / 0.9863 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.8387, allocations: 0.5981 MB / 0.9868 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.8622, allocations: 10.1 MB / 0.9967 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004583/0.8626, allocations: 17.36 kB / 0.9967 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002243/0.8649, allocations: 260.4 kB / 0.997 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004952/0.8654, allocations: 184.6 kB / 0.9971 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.8836, allocations: 7.455 MB / 1.004 GB, free: 125.5 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.04749/0.9311, allocations: 26.36 MB / 1.03 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.9366, allocations: 3.976 MB / 1.034 GB, free: 98.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.9405, allocations: 3.026 MB / 1.037 GB, free: 95.44 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009048/0.9414, allocations: 208.9 kB / 1.037 GB, free: 95.24 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003705/0.9451, allocations: 3.456 MB / 1.041 GB, free: 91.49 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002214/0.9474, allocations: 319 kB / 1.041 GB, free: 91.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.034e-05/0.9474, allocations: 0 / 1.041 GB, free: 91.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01116/0.9585, allocations: 6.941 MB / 1.048 GB, free: 84.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.9586, allocations: 85.91 kB / 1.048 GB, free: 84.21 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007534/0.9661, allocations: 4.987 MB / 1.053 GB, free: 79.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006725/0.9668, allocations: 85.7 kB / 1.053 GB, free: 79.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.9693, allocations: 3.279 MB / 1.056 GB, free: 76.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.9706, allocations: 1.169 MB / 1.057 GB, free: 74.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.9723, allocations: 0.8624 MB / 1.058 GB, free: 74.03 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/0.9724, allocations: 304.5 kB / 1.058 GB, free: 73.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.9755, allocations: 2.189 MB / 1.06 GB, free: 71.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.979, allocations: 3.826 MB / 1.064 GB, free: 66.96 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/0.9856, allocations: 6.323 MB / 1.07 GB, free: 59.99 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.689e-05/0.9856, allocations: 15.81 kB / 1.07 GB, free: 59.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01005/0.9957, allocations: 6.753 MB / 1.077 GB, free: 53.17 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.9957, allocations: 57.69 kB / 1.077 GB, free: 53.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/0.9958, allocations: 48 kB / 1.077 GB, free: 53.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.9967, allocations: 438.8 kB / 1.077 GB, free: 52.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/1, allocations: 1.006 MB / 1.078 GB, free: 51.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.004, allocations: 5.379 MB / 1.084 GB, free: 46.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/1.009, allocations: 283.6 kB / 1.084 GB, free: 45.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007333/1.01, allocations: 216 kB / 1.084 GB, free: 45.57 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.004651/1.014, allocations: 2.486 MB / 1.086 GB, free: 43.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/1.016, allocations: 0.493 MB / 1.087 GB, free: 42.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009101/1.025, allocations: 5.199 MB / 1.092 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.025, allocations: 36 kB / 1.092 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.025, allocations: 11.59 kB / 1.092 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005545/1.031, allocations: 4.534 MB / 1.097 GB, free: 32.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.051, allocations: 10.43 MB / 1.107 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.051, allocations: 4 kB / 1.107 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.054, allocations: 0.6438 MB / 1.107 GB, free: 21.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/1.054, allocations: 369.3 kB / 1.108 GB, free: 21.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003381/1.055, allocations: 83.95 kB / 1.108 GB, free: 21.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/1.059, allocations: 5.277 MB / 1.113 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.059, allocations: 4 kB / 1.113 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.069, allocations: 7.675 MB / 1.12 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/1.072, allocations: 1.077 MB / 1.121 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/1.074, allocations: 63.94 kB / 1.122 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/1.077, allocations: 208.8 kB / 1.122 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/1.077, allocations: 206.1 kB / 1.122 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003598/1.078, allocations: 135.9 kB / 1.122 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005387/1.083, allocations: 3.392 MB / 1.125 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/1.083, allocations: 0 / 1.125 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006133/1.089, allocations: 2.089 MB / 1.127 GB, free: 0.6953 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.001145/1.09, allocations: 477 kB / 1.128 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009513/1.1, allocations: 5.258 MB / 1.133 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.1, allocations: 4 kB / 1.133 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004242/1.104, allocations: 2.366 MB / 1.135 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0144/1.119, allocations: 2.77 MB / 1.138 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/1.149, allocations: 14.03 MB / 1.152 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006893/1.155, allocations: 4.067 MB / 1.156 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/1.158, allocations: 463.2 kB / 1.156 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of SimCode: time 1.743e-06/1.158, allocations: 0 / 1.156 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of Templates: time 0.6574/1.815, allocations: 182.7 MB / 1.335 GB, free: 310.5 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: 23.751204593107104] Failed to read output from testmodel.py, exit status != 0: 1.8236149991862476 1.836979565 1.421023448 Calling exit ...