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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 111 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 244.8 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 128.4 MB / 426.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 69.05 kB / 0.5911 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1912, allocations: 83.26 MB / 0.6725 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06277/0.254, allocations: 56.49 MB / 0.7276 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02829/0.2823, allocations: 18.03 MB / 0.7452 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.2861, allocations: 79.5 kB / 0.7453 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003597/0.2897, allocations: 0.9235 MB / 0.7462 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009146/0.2988, allocations: 2.616 MB / 0.7488 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.3043, allocations: 1.548 MB / 0.7503 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4563/0.7606, allocations: 21.33 MB / 0.7711 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.7763, allocations: 8.881 MB / 0.7798 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01983/0.7961, allocations: 7.448 MB / 0.7871 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01468/0.8108, allocations: 6.574 MB / 0.7935 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004541/0.8153, allocations: 0.9408 MB / 0.7944 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009773/0.8251, allocations: 1.715 MB / 0.7961 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005941/0.831, allocations: 2.436 MB / 0.7984 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01291/0.844, allocations: 4.729 MB / 0.8031 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02378/0.8677, allocations: 13.29 MB / 0.816 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.8677, allocations: 0 / 0.816 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.205e-06/0.8677, allocations: 0 / 0.816 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0007045/0.8684, allocations: 0 / 0.816 GB, free: 7.707 MB / 0.5919 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.02832/0.8968, allocations: 8.705 MB / 0.8245 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8968, allocations: 12.03 kB / 0.8246 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.9024, allocations: 0.8985 MB / 0.8254 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01713/0.9196, allocations: 6.758 MB / 0.832 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006287/0.9202, allocations: 460.2 kB / 0.8325 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/0.9234, allocations: 0.5918 MB / 0.833 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02835/0.9517, allocations: 9.039 MB / 0.8419 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003497/0.9521, allocations: 21.23 kB / 0.8419 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002219/0.9543, allocations: 271.6 kB / 0.8422 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/0.9545, allocations: 180 kB / 0.8423 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.9742, allocations: 7.461 MB / 0.8496 GB, free: 5.418 MB / 0.6231 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.06825/1.042, allocations: 36.1 MB / 0.8849 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008652/1.051, allocations: 4.008 MB / 0.8888 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006226/1.057, allocations: 3.027 MB / 0.8917 GB, free: 8.707 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/1.059, allocations: 0.9571 MB / 0.8927 GB, free: 7.578 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005553/1.065, allocations: 2.398 MB / 0.895 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00353/1.068, allocations: 408.8 kB / 0.8954 GB, free: 4.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.456e-05/1.068, allocations: 0 / 0.8954 GB, free: 4.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.0183/1.086, allocations: 7.139 MB / 0.9024 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.087, allocations: 81.91 kB / 0.9025 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/1.102, allocations: 5.674 MB / 0.908 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.103, allocations: 93.45 kB / 0.9081 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00429/1.107, allocations: 3.272 MB / 0.9113 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002183/1.109, allocations: 1.174 MB / 0.9124 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.111, allocations: 0.8562 MB / 0.9133 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.111, allocations: 313 kB / 0.9136 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.115, allocations: 2.16 MB / 0.9157 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/1.12, allocations: 3.7 MB / 0.9193 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.131, allocations: 6.32 MB / 0.9255 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.19e-05/1.131, allocations: 12 kB / 0.9255 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01516/1.146, allocations: 6.787 MB / 0.9321 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/1.146, allocations: 57.92 kB / 0.9321 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/1.146, allocations: 48 kB / 0.9322 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.147, allocations: 441.2 kB / 0.9326 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00403/1.151, allocations: 1.002 MB / 0.9336 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/1.158, allocations: 5.702 MB / 0.9392 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.164, allocations: 287.5 kB / 0.9394 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009866/1.165, allocations: 216 kB / 0.9396 GB, free: 5.617 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.005941/1.17, allocations: 2.485 MB / 0.9421 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/1.173, allocations: 0.5513 MB / 0.9426 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.184, allocations: 5.251 MB / 0.9477 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/1.184, allocations: 35.75 kB / 0.9478 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.184, allocations: 4 kB / 0.9478 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007539/1.191, allocations: 4.517 MB / 0.9522 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.22, allocations: 11.98 MB / 0.9639 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.22, allocations: 0 / 0.9639 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/1.223, allocations: 0.6438 MB / 0.9645 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009376/1.224, allocations: 372.2 kB / 0.9649 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/1.224, allocations: 79.95 kB / 0.9649 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006638/1.231, allocations: 5.635 MB / 0.9704 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.231, allocations: 3.938 kB / 0.9704 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/1.247, allocations: 7.776 MB / 0.978 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004216/1.252, allocations: 1.177 MB / 0.9792 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002138/1.254, allocations: 67.98 kB / 0.9793 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/1.259, allocations: 199.2 kB / 0.9794 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/1.259, allocations: 194.2 kB / 0.9796 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004905/1.26, allocations: 143.9 kB / 0.9798 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.009426/1.269, allocations: 3.955 MB / 0.9836 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.4e-07/1.269, allocations: 0 / 0.9836 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009583/1.279, allocations: 2.035 MB / 0.9856 GB, free: 5.938 MB / 0.7637 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.001875/1.281, allocations: 0.5037 MB / 0.9861 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.291, allocations: 5.236 MB / 0.9912 GB, free: 188 kB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.291, allocations: 3.938 kB / 0.9912 GB, free: 184 kB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004426/1.295, allocations: 2.374 MB / 0.9935 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01698/1.312, allocations: 3.396 MB / 0.9969 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/1.341, allocations: 14.15 MB / 1.011 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005855/1.347, allocations: 4.636 MB / 1.015 GB, free: 7.598 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007331/1.354, allocations: 2.085 MB / 1.017 GB, free: 5.512 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/1.356, allocations: 467.2 kB / 1.018 GB, free: 5.055 MB / 0.795 GB Notification: Performance of SimCode: time 1.493e-06/1.356, allocations: 0 / 1.018 GB, free: 5.055 MB / 0.795 GB Notification: Performance of Templates: time 0.9028/2.259, allocations: 118.2 MB / 1.133 GB, free: 282.2 MB / 0.8419 GB 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480]