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.0009505/0.0009505, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009814/0.0009814, allocations: 181 kB / 23.36 MB, free: 1.133 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.9836/0.9836, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002011/0.002011, allocations: 245.5 kB / 260.5 MB, free: 12.69 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.7315/0.7315, allocations: 138.4 MB / 402.2 MB, free: 0.5117 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.492e-06/1.492e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.169e-05, allocations: 4.422 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01408/0.0141, allocations: 16.32 MB / 478.6 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.02533, allocations: 6.209 MB / 484.8 MB, free: 12.1 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.02764, allocations: 100.4 kB / 484.9 MB, free: 12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.02886, allocations: 0.5349 MB / 485.5 MB, free: 11.46 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.03257, allocations: 1.824 MB / 487.3 MB, free: 9.645 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.0355, allocations: 1.483 MB / 488.8 MB, free: 8.172 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.05255, allocations: 21.79 MB / 0.4986 GB, free: 2.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.0627, allocations: 7.468 MB / 0.5059 GB, free: 10.8 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.08153, allocations: 10.09 MB / 0.5157 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/0.0922, allocations: 6.272 MB / 0.5219 GB, free: 10.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003153/0.09536, allocations: 0.9271 MB / 0.5228 GB, free: 9.637 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.1004, allocations: 1.187 MB / 0.5239 GB, free: 8.449 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004353/0.1048, allocations: 2.488 MB / 0.5264 GB, free: 5.953 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008759/0.1135, allocations: 3.322 MB / 0.5296 GB, free: 2.625 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.1245, allocations: 7.958 MB / 0.5374 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1245, allocations: 1.062 kB / 0.5374 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1245, allocations: 0 / 0.5374 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004067/0.1249, allocations: 0 / 0.5374 GB, free: 10.64 MB / 0.4948 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.01287/0.1378, allocations: 7.74 MB / 0.5449 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1378, allocations: 11.06 kB / 0.5449 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.1405, allocations: 1.26 MB / 0.5462 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00883/0.1494, allocations: 3.805 MB / 0.5499 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/0.1497, allocations: 460.6 kB / 0.5503 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/0.1507, allocations: 0.6174 MB / 0.5509 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007316/0.1581, allocations: 6.04 MB / 0.5568 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.1582, allocations: 15.88 kB / 0.5568 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004692/0.1586, allocations: 262.3 kB / 0.5571 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.1588, allocations: 179.9 kB / 0.5573 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.1623, allocations: 2.095 MB / 0.5593 GB, free: 3.465 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.027/0.1893, allocations: 18.96 MB / 0.5778 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.1917, allocations: 1.573 MB / 0.5794 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.1935, allocations: 1.228 MB / 0.5806 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.194, allocations: 166.3 kB / 0.5807 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.1961, allocations: 2.09 MB / 0.5828 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002303/0.1984, allocations: 317.7 kB / 0.5831 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=317): time 1.1e-05/0.1984, allocations: 4 kB / 0.5831 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317): time 0.004983/0.2034, allocations: 2.19 MB / 0.5852 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.2034, allocations: 81.91 kB / 0.5853 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/0.2089, allocations: 3.686 MB / 0.5889 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006692/0.2096, allocations: 85.7 kB / 0.589 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002595/0.2122, allocations: 2.547 MB / 0.5914 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/0.2137, allocations: 1.139 MB / 0.5926 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.2148, allocations: 0.7995 MB / 0.5933 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.2148, allocations: 305.1 kB / 0.5936 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.216, allocations: 0.5865 MB / 0.5942 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.2179, allocations: 2.085 MB / 0.5962 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.2214, allocations: 3.045 MB / 0.5992 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.723e-05/0.2215, allocations: 12 kB / 0.5992 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.005092/0.2266, allocations: 2.816 MB / 0.602 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.2266, allocations: 57.69 kB / 0.602 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.585e-05/0.2267, allocations: 52 kB / 0.6021 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.228, allocations: 379.4 kB / 0.6024 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.2306, allocations: 0.9398 MB / 0.6034 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.2339, allocations: 3.668 MB / 0.6069 GB, free: 204 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.2368, allocations: 183.9 kB / 0.6071 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.2371, allocations: 172 kB / 0.6073 GB, free: 15.85 MB / 0.573 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.001662/0.2388, allocations: 411.6 kB / 0.6077 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009032/0.2397, allocations: 399.5 kB / 0.6081 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.2425, allocations: 1.956 MB / 0.61 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/0.2426, allocations: 32.8 kB / 0.61 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2426, allocations: 11.92 kB / 0.61 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/0.2441, allocations: 1.358 MB / 0.6113 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009366/0.2534, allocations: 5.245 MB / 0.6165 GB, free: 6.223 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2534, allocations: 0 / 0.6165 GB, free: 6.223 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.2549, allocations: 0.5656 MB / 0.617 GB, free: 5.656 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009496/0.2558, allocations: 316.1 kB / 0.6173 GB, free: 5.344 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.2561, allocations: 75.95 kB / 0.6174 GB, free: 5.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.2586, allocations: 3.595 MB / 0.6209 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2586, allocations: 0 / 0.6209 GB, free: 1.516 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.2626, allocations: 2.47 MB / 0.6233 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/0.2647, allocations: 0.6085 MB / 0.6239 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006625/0.2653, allocations: 63.98 kB / 0.624 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.2666, allocations: 112.6 kB / 0.6241 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.2669, allocations: 198.1 kB / 0.6243 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.2671, allocations: 103.8 kB / 0.6244 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002124/0.2692, allocations: 1.87 MB / 0.6262 GB, free: 12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2692, allocations: 4 kB / 0.6262 GB, free: 12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004117/0.2733, allocations: 2.007 MB / 0.6281 GB, free: 9.988 MB / 0.5886 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.0006327/0.274, allocations: 264.2 kB / 0.6284 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003225/0.2772, allocations: 2.366 MB / 0.6307 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.044e-05/0.2773, allocations: 59.84 kB / 0.6308 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/0.2786, allocations: 1.162 MB / 0.6319 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007256/0.2858, allocations: 2.802 MB / 0.6346 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.3009, allocations: 10.33 MB / 0.6447 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.3026, allocations: 1.411 MB / 0.6461 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003329/0.3059, allocations: 0.8926 MB / 0.647 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00421/0.3101, allocations: 1.719 MB / 0.6487 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of SimCode: time 2.014e-06/0.3101, allocations: 0 / 0.6487 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of Templates: time 0.316/0.6261, allocations: 108.5 MB / 0.7546 GB, free: 118.2 MB / 0.6198 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.15349475806579]