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.000879/0.000879, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009586/0.0009586, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9074/0.9074, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.002075/0.002075, allocations: 238.2 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7228/0.7228, allocations: 138.4 MB / 455.2 MB, free: 1.512 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.914e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01318/0.0132, allocations: 16.54 MB / 0.5713 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.02307, allocations: 6.074 MB / 0.5772 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.02433, allocations: 99.19 kB / 0.5773 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009489/0.02527, allocations: 0.5388 MB / 0.5778 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.02814, allocations: 1.817 MB / 0.5796 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.03041, allocations: 1.482 MB / 0.581 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01532/0.04573, allocations: 21.77 MB / 0.6023 GB, free: 0 / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009026/0.05475, allocations: 7.359 MB / 0.6095 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01892/0.07367, allocations: 10.07 MB / 0.6193 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.0866, allocations: 6.533 MB / 0.6257 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.004045/0.09064, allocations: 0.923 MB / 0.6266 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005856/0.0965, allocations: 1.187 MB / 0.6278 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002557/0.09905, allocations: 2.485 MB / 0.6302 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.008202/0.1073, allocations: 3.319 MB / 0.6334 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008187/0.1154, allocations: 7.961 MB / 0.6412 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1154, allocations: 6.562 kB / 0.6412 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1154, allocations: 0 / 0.6412 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001308/0.1156, allocations: 1 kB / 0.6412 GB, free: 57.78 MB / 0.5105 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.008639/0.1242, allocations: 8.934 MB / 0.6499 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1243, allocations: 7.375 kB / 0.65 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.1264, allocations: 1.514 MB / 0.6514 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007154/0.1336, allocations: 5.429 MB / 0.6567 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.1339, allocations: 459.5 kB / 0.6572 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/0.1356, allocations: 0.6183 MB / 0.6578 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.1464, allocations: 6.542 MB / 0.6642 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.1466, allocations: 22.02 kB / 0.6642 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006857/0.1473, allocations: 259.2 kB / 0.6644 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.1474, allocations: 182.8 kB / 0.6646 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005862/0.1533, allocations: 2.429 MB / 0.667 GB, free: 42.42 MB / 0.5105 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.02992/0.1832, allocations: 27.09 MB / 0.6934 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/0.186, allocations: 1.856 MB / 0.6952 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.1878, allocations: 1.479 MB / 0.6967 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004641/0.1883, allocations: 170.3 kB / 0.6969 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.1903, allocations: 2.207 MB / 0.699 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002266/0.1926, allocations: 325.5 kB / 0.6993 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 1.987e-05/0.1926, allocations: 0 / 0.6993 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.006475/0.1991, allocations: 3.401 MB / 0.7026 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1991, allocations: 89.91 kB / 0.7027 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005447/0.2046, allocations: 4.183 MB / 0.7068 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005266/0.2051, allocations: 89.7 kB / 0.7069 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002735/0.2078, allocations: 3.506 MB / 0.7103 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/0.2091, allocations: 1.222 MB / 0.7115 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.2101, allocations: 0.9299 MB / 0.7124 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2102, allocations: 476.8 kB / 0.7129 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.2115, allocations: 0.674 MB / 0.7135 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.2139, allocations: 3.038 MB / 0.7165 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004232/0.2181, allocations: 3.973 MB / 0.7204 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.256e-05/0.2182, allocations: 12 kB / 0.7204 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007248/0.2254, allocations: 3.899 MB / 0.7242 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.804e-05/0.2255, allocations: 53.7 kB / 0.7243 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.316e-05/0.2256, allocations: 48 kB / 0.7243 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.227, allocations: 412.7 kB / 0.7247 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.2291, allocations: 1.002 MB / 0.7257 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.233, allocations: 5.279 MB / 0.7308 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.2364, allocations: 275.7 kB / 0.7311 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.2368, allocations: 220 kB / 0.7313 GB, free: 6.504 MB / 0.5417 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.002147/0.2389, allocations: 466.2 kB / 0.7317 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.2402, allocations: 0.5828 MB / 0.7323 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/0.2441, allocations: 2.642 MB / 0.7349 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.2442, allocations: 32.88 kB / 0.7349 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.2442, allocations: 4 kB / 0.7349 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002528/0.2467, allocations: 2.058 MB / 0.7369 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.2603, allocations: 7.978 MB / 0.7447 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.2603, allocations: 0 / 0.7447 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.2618, allocations: 0.6281 MB / 0.7453 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.2629, allocations: 351.8 kB / 0.7457 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/0.2632, allocations: 83.95 kB / 0.7458 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003389/0.2666, allocations: 5.203 MB / 0.7508 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2666, allocations: 3.938 kB / 0.7508 GB, free: 2.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/0.2724, allocations: 3.474 MB / 0.7542 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/0.2749, allocations: 0.9679 MB / 0.7552 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009513/0.2759, allocations: 67.98 kB / 0.7552 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.2778, allocations: 185.5 kB / 0.7554 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.2781, allocations: 206.1 kB / 0.7556 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/0.2784, allocations: 143.9 kB / 0.7558 GB, free: 12.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003389/0.2818, allocations: 2.146 MB / 0.7579 GB, free: 10.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2818, allocations: 0 / 0.7579 GB, free: 10.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0055/0.2873, allocations: 2.011 MB / 0.7598 GB, free: 8.777 MB / 0.573 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.0008873/0.2881, allocations: 298.1 kB / 0.7601 GB, free: 8.484 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004736/0.2929, allocations: 3.038 MB / 0.7631 GB, free: 5.371 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.2929, allocations: 4 kB / 0.7631 GB, free: 5.367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.2948, allocations: 1.551 MB / 0.7646 GB, free: 3.773 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008998/0.3038, allocations: 2.833 MB / 0.7674 GB, free: 1.086 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.3204, allocations: 10.79 MB / 0.7779 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.322, allocations: 1.778 MB / 0.7796 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004989/0.327, allocations: 1.532 MB / 0.7811 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/0.3285, allocations: 436.3 kB / 0.7815 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of SimCode: time 2.204e-06/0.3285, allocations: 0 / 0.7815 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of Templates: time 0.3421/0.6706, allocations: 105.4 MB / 0.8845 GB, free: 189.7 MB / 0.6511 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.573191896080971]