Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009996/0.0009996, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001046/0.001046, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6196/0.6196, allocations: 115 MB / 375.7 MB, free: 7.645 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.034e-05, allocations: 5.078 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01484/0.01486, allocations: 16.6 MB / 498.1 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.02776, allocations: 6.063 MB / 0.4923 GB, free: 12.65 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.03114, allocations: 103.2 kB / 0.4924 GB, free: 12.6 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.0328, allocations: 0.5331 MB / 0.493 GB, free: 12.31 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.03789, allocations: 1.807 MB / 0.4947 GB, free: 11.19 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.04146, allocations: 1.46 MB / 0.4961 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02105/0.06251, allocations: 21.87 MB / 0.5175 GB, free: 7.605 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00817/0.07068, allocations: 7.001 MB / 0.5243 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01368/0.08436, allocations: 9.861 MB / 0.534 GB, free: 6.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009109/0.09347, allocations: 6.514 MB / 0.5403 GB, free: 228 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.09552, allocations: 0.9375 MB / 0.5413 GB, free: 15.28 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.09929, allocations: 1.243 MB / 0.5425 GB, free: 14.04 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.1012, allocations: 2.519 MB / 0.5449 GB, free: 11.52 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004875/0.106, allocations: 3.399 MB / 0.5482 GB, free: 8.109 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/0.1141, allocations: 8.067 MB / 0.5561 GB, free: 20 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1141, allocations: 0 / 0.5561 GB, free: 20 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1141, allocations: 4.562 kB / 0.5561 GB, free: 16 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002039/0.1143, allocations: 0 / 0.5561 GB, free: 16 kB / 474.7 MB 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.01008/0.1244, allocations: 9.03 MB / 0.5649 GB, free: 6.922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1244, allocations: 8.031 kB / 0.565 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.1266, allocations: 1.519 MB / 0.5664 GB, free: 5.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.1329, allocations: 6.149 MB / 0.5724 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.1331, allocations: 460.2 kB / 0.5729 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005913/0.1337, allocations: 0.6171 MB / 0.5735 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/0.1405, allocations: 6.549 MB / 0.5799 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/0.1406, allocations: 15.88 kB / 0.5799 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.141, allocations: 256 kB / 0.5801 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.1411, allocations: 184 kB / 0.5803 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.1454, allocations: 2.432 MB / 0.5827 GB, free: 3.98 MB / 0.4948 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.02365/0.169, allocations: 27.23 MB / 0.6093 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.1713, allocations: 1.86 MB / 0.6111 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.1731, allocations: 1.524 MB / 0.6126 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.1735, allocations: 166.3 kB / 0.6127 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.1753, allocations: 2.211 MB / 0.6149 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001208/0.1765, allocations: 329.7 kB / 0.6152 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=317): time 5.851e-06/0.1765, allocations: 0 / 0.6152 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317): time 0.005055/0.1815, allocations: 3.388 MB / 0.6185 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.1816, allocations: 85.91 kB / 0.6186 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.1852, allocations: 4.199 MB / 0.6227 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.1853, allocations: 93.7 kB / 0.6228 GB, free: 9.965 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.1873, allocations: 3.488 MB / 0.6262 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007108/0.188, allocations: 1.217 MB / 0.6274 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008427/0.1888, allocations: 0.9299 MB / 0.6283 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.1889, allocations: 484.7 kB / 0.6288 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.19, allocations: 0.6779 MB / 0.6294 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.1921, allocations: 3.031 MB / 0.6324 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/0.1955, allocations: 3.975 MB / 0.6363 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.1956, allocations: 12 kB / 0.6363 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004681/0.2002, allocations: 3.886 MB / 0.6401 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.2003, allocations: 57.69 kB / 0.6401 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.2003, allocations: 48 kB / 0.6402 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.2014, allocations: 413.5 kB / 0.6406 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.2033, allocations: 0.9984 MB / 0.6415 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2376/0.4409, allocations: 5.28 MB / 0.6467 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/0.4449, allocations: 298.5 kB / 0.647 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/0.4453, allocations: 221.9 kB / 0.6472 GB, free: 132.9 MB / 0.5573 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.002073/0.4474, allocations: 452 kB / 0.6476 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/0.4483, allocations: 0.5929 MB / 0.6482 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.4524, allocations: 2.643 MB / 0.6508 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.4524, allocations: 33.73 kB / 0.6508 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4524, allocations: 5.812 kB / 0.6508 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002373/0.4548, allocations: 2.046 MB / 0.6528 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/0.4647, allocations: 8.04 MB / 0.6607 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4647, allocations: 2.625 kB / 0.6607 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.466, allocations: 0.6314 MB / 0.6613 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/0.467, allocations: 352.5 kB / 0.6616 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/0.4672, allocations: 82.52 kB / 0.6617 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.4698, allocations: 5.189 MB / 0.6668 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4698, allocations: 3.531 kB / 0.6668 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005785/0.4755, allocations: 3.494 MB / 0.6702 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.4775, allocations: 0.9769 MB / 0.6711 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.478, allocations: 66.97 kB / 0.6712 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.4794, allocations: 206.1 kB / 0.6714 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.4798, allocations: 210 kB / 0.6716 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/0.48, allocations: 141.7 kB / 0.6717 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003605/0.4836, allocations: 2.16 MB / 0.6738 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4836, allocations: 2.875 kB / 0.6738 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004984/0.4886, allocations: 2.054 MB / 0.6759 GB, free: 126.5 MB / 0.5573 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.0006146/0.4892, allocations: 302.3 kB / 0.6761 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004657/0.4939, allocations: 3.045 MB / 0.6791 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4939, allocations: 6.344 kB / 0.6791 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.4958, allocations: 1.555 MB / 0.6806 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/0.5027, allocations: 2.828 MB / 0.6834 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.5153, allocations: 10.79 MB / 0.6939 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.5164, allocations: 1.78 MB / 0.6957 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003264/0.5197, allocations: 1.509 MB / 0.6972 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/0.5205, allocations: 435.6 kB / 0.6976 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.552e-06/0.5205, allocations: 0 / 0.6976 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.0929/0.6134, allocations: 100.7 MB / 0.7959 GB, free: 19.71 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.79273130511865]