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.001022/0.001022, 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.001236/0.001236, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.014/1.014, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.002691/0.002691, allocations: 234 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.8012/0.8012, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.934e-06/1.934e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.666e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01372/0.01374, allocations: 16.54 MB / 0.5713 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009914/0.02366, allocations: 6.074 MB / 0.5772 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.02617, allocations: 99.19 kB / 0.5773 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.02747, allocations: 0.5349 MB / 0.5778 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.03148, allocations: 1.813 MB / 0.5796 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.03418, allocations: 1.478 MB / 0.581 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.05068, allocations: 21.78 MB / 0.6023 GB, free: 32 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2674/0.3181, allocations: 7.364 MB / 0.6095 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02191/0.34, allocations: 9.764 MB / 0.619 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01618/0.3562, allocations: 6.557 MB / 0.6254 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.005175/0.3613, allocations: 0.9412 MB / 0.6263 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.3723, allocations: 1.219 MB / 0.6275 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.008543/0.3808, allocations: 2.523 MB / 0.63 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01478/0.3956, allocations: 3.36 MB / 0.6333 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.4125, allocations: 8.035 MB / 0.6411 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4125, allocations: 0.5 kB / 0.6411 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4125, allocations: 0.5 kB / 0.6411 GB, free: 57.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000509/0.413, allocations: 0 / 0.6411 GB, free: 57.67 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.01659/0.4296, allocations: 9.034 MB / 0.6499 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4296, allocations: 10.62 kB / 0.65 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.4327, allocations: 1.516 MB / 0.6514 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.4428, allocations: 6.132 MB / 0.6574 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.4431, allocations: 456.9 kB / 0.6579 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/0.4445, allocations: 0.6202 MB / 0.6585 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.4548, allocations: 6.544 MB / 0.6649 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.4549, allocations: 21.2 kB / 0.6649 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005178/0.4554, allocations: 266.3 kB / 0.6651 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.4556, allocations: 180.1 kB / 0.6653 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005542/0.4611, allocations: 2.432 MB / 0.6677 GB, free: 41.78 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.02863/0.4897, allocations: 27.16 MB / 0.6942 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.492, allocations: 1.845 MB / 0.696 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4936, allocations: 1.522 MB / 0.6975 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.4941, allocations: 166.3 kB / 0.6976 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.4958, allocations: 2.218 MB / 0.6998 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001735/0.4975, allocations: 313.8 kB / 0.7001 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=317): time 1.13e-05/0.4975, allocations: 0 / 0.7001 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317): time 0.005508/0.503, allocations: 3.398 MB / 0.7034 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.5031, allocations: 89.75 kB / 0.7035 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/0.5076, allocations: 4.207 MB / 0.7076 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.5079, allocations: 89.7 kB / 0.7077 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002658/0.5105, allocations: 3.497 MB / 0.7111 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.5117, allocations: 1.208 MB / 0.7123 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.5128, allocations: 0.9317 MB / 0.7132 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5129, allocations: 484.8 kB / 0.7137 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.5143, allocations: 0.6701 MB / 0.7143 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.5171, allocations: 3.031 MB / 0.7173 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.5216, allocations: 3.981 MB / 0.7212 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/0.5217, allocations: 14.56 kB / 0.7212 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006515/0.5282, allocations: 3.891 MB / 0.725 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.5283, allocations: 53.69 kB / 0.725 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/0.5283, allocations: 48 kB / 0.7251 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.5295, allocations: 420.9 kB / 0.7255 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.5315, allocations: 0.9945 MB / 0.7265 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.5353, allocations: 5.282 MB / 0.7316 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.5388, allocations: 288.2 kB / 0.7319 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/0.5391, allocations: 220 kB / 0.7321 GB, free: 5.68 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.002157/0.5413, allocations: 458.9 kB / 0.7325 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/0.5429, allocations: 0.5868 MB / 0.7331 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.5468, allocations: 2.642 MB / 0.7357 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.5469, allocations: 35.98 kB / 0.7357 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.5469, allocations: 4 kB / 0.7357 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002641/0.5495, allocations: 2.058 MB / 0.7377 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.5639, allocations: 8.004 MB / 0.7456 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.5639, allocations: 3.984 kB / 0.7456 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.5654, allocations: 0.632 MB / 0.7462 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.5665, allocations: 352.7 kB / 0.7465 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.5667, allocations: 79.95 kB / 0.7466 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.5699, allocations: 5.184 MB / 0.7517 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5699, allocations: 3.938 kB / 0.7517 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/0.5758, allocations: 3.491 MB / 0.7551 GB, free: 13.62 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/0.5781, allocations: 0.9802 MB / 0.756 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006859/0.5788, allocations: 67.92 kB / 0.7561 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.5804, allocations: 183.4 kB / 0.7563 GB, free: 12.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.5807, allocations: 210 kB / 0.7565 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/0.581, allocations: 147.8 kB / 0.7566 GB, free: 12.05 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003579/0.5846, allocations: 2.166 MB / 0.7587 GB, free: 9.895 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5846, allocations: 0 / 0.7587 GB, free: 9.895 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005769/0.5903, allocations: 2.019 MB / 0.7607 GB, free: 7.871 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.0008781/0.5912, allocations: 294.2 kB / 0.761 GB, free: 7.582 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005118/0.5963, allocations: 3.043 MB / 0.7639 GB, free: 4.465 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5963, allocations: 0 / 0.7639 GB, free: 4.465 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.5983, allocations: 1.566 MB / 0.7655 GB, free: 2.855 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009223/0.6076, allocations: 2.828 MB / 0.7682 GB, free: 176 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.6246, allocations: 10.81 MB / 0.7788 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.6266, allocations: 1.778 MB / 0.7805 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.005481/0.6321, allocations: 1.528 MB / 0.782 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/0.6337, allocations: 444.3 kB / 0.7824 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of SimCode: time 2.404e-06/0.6337, allocations: 0 / 0.7824 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of Templates: time 0.3344/0.9681, allocations: 99.83 MB / 0.8799 GB, free: 193.1 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.721970722079277]