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.0014/0.0014, allocations: 71.36 kB / 20.51 MB, free: 1.285 MB / 14.72 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.001394/0.001394, allocations: 166.1 kB / 23.76 MB, free: 4.469 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 204.1 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] 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.9364/0.9364, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 63.28 kB / 0.555 GB, free: 2.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 89.16 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05923/0.2488, allocations: 51.62 MB / 0.6925 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4149/0.6637, allocations: 16.82 MB / 0.7089 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003333/0.6671, allocations: 106.4 kB / 0.709 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.6701, allocations: 0.8984 MB / 0.7099 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008716/0.6789, allocations: 2.657 MB / 0.7125 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.6836, allocations: 1.574 MB / 0.714 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03246/0.716, allocations: 22.06 MB / 0.7356 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.7311, allocations: 7.094 MB / 0.7425 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02063/0.7517, allocations: 7.593 MB / 0.7499 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01616/0.7678, allocations: 6.895 MB / 0.7567 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00388/0.7717, allocations: 0.9373 MB / 0.7576 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.7809, allocations: 1.582 MB / 0.7591 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006263/0.7872, allocations: 2.425 MB / 0.7615 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01415/0.8013, allocations: 3.88 MB / 0.7653 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02558/0.8269, allocations: 13.36 MB / 0.7783 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.8269, allocations: 0 / 0.7783 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8269, allocations: 0 / 0.7783 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005338/0.8275, allocations: 4 kB / 0.7783 GB, free: 1.918 MB / 0.6231 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.02846/0.8559, allocations: 8.649 MB / 0.7868 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.856, allocations: 8.031 kB / 0.7868 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005819/0.8618, allocations: 0.959 MB / 0.7877 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/0.8789, allocations: 6.777 MB / 0.7943 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006074/0.8795, allocations: 467.4 kB / 0.7948 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.8822, allocations: 0.5898 MB / 0.7954 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.907, allocations: 10.1 MB / 0.8052 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002977/0.9073, allocations: 19.83 kB / 0.8052 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001933/0.9092, allocations: 262.4 kB / 0.8055 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.9094, allocations: 191.8 kB / 0.8057 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.9269, allocations: 7.447 MB / 0.8129 GB, free: 13.94 MB / 0.67 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.05342/0.9803, allocations: 26.36 MB / 0.8387 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006964/0.9873, allocations: 3.975 MB / 0.8426 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/0.9924, allocations: 3.032 MB / 0.8455 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.9934, allocations: 202.3 kB / 0.8457 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00568/0.9991, allocations: 3.452 MB / 0.8491 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003737/1.003, allocations: 325.8 kB / 0.8494 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 1.829e-05/1.003, allocations: 3.938 kB / 0.8494 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01609/1.019, allocations: 6.948 MB / 0.8562 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/1.019, allocations: 81.91 kB / 0.8563 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.029, allocations: 4.985 MB / 0.8611 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008422/1.03, allocations: 89.7 kB / 0.8612 GB, free: 12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00425/1.034, allocations: 3.272 MB / 0.8644 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.036, allocations: 1.167 MB / 0.8656 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00228/1.039, allocations: 0.8624 MB / 0.8664 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.039, allocations: 309.1 kB / 0.8667 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.043, allocations: 2.196 MB / 0.8688 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006737/1.05, allocations: 3.823 MB / 0.8726 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.061, allocations: 6.327 MB / 0.8788 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-05/1.061, allocations: 16 kB / 0.8788 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01371/1.074, allocations: 6.753 MB / 0.8854 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/1.075, allocations: 56.55 kB / 0.8854 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.075, allocations: 52 kB / 0.8855 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.076, allocations: 433.3 kB / 0.8859 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003963/1.08, allocations: 1.006 MB / 0.8869 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/1.087, allocations: 5.367 MB / 0.8921 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005598/1.092, allocations: 295.6 kB / 0.8924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008915/1.093, allocations: 220 kB / 0.8926 GB, free: 10.18 MB / 0.7481 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.005762/1.099, allocations: 2.487 MB / 0.895 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002177/1.101, allocations: 496.9 kB / 0.8955 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.113, allocations: 5.203 MB / 0.9006 GB, free: 1.934 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/1.113, allocations: 32 kB / 0.9006 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/1.113, allocations: 4 kB / 0.9006 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007769/1.121, allocations: 4.531 MB / 0.905 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.147, allocations: 10.44 MB / 0.9152 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.147, allocations: 0 / 0.9152 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.15, allocations: 0.6476 MB / 0.9159 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009667/1.151, allocations: 369.3 kB / 0.9162 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004289/1.151, allocations: 83.95 kB / 0.9163 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/1.158, allocations: 5.279 MB / 0.9215 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.158, allocations: 0 / 0.9215 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.172, allocations: 7.681 MB / 0.929 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003949/1.176, allocations: 1.077 MB / 0.93 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/1.177, allocations: 63.98 kB / 0.9301 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/1.181, allocations: 199.9 kB / 0.9303 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/1.182, allocations: 214.1 kB / 0.9305 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004957/1.182, allocations: 143.8 kB / 0.9306 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007763/1.19, allocations: 3.38 MB / 0.9339 GB, free: 15.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.19, allocations: 0 / 0.9339 GB, free: 15.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008759/1.199, allocations: 2.093 MB / 0.9359 GB, free: 13.3 MB / 0.795 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.001674/1.2, allocations: 489.2 kB / 0.9364 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.211, allocations: 5.258 MB / 0.9415 GB, free: 7.535 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.211, allocations: 4 kB / 0.9416 GB, free: 7.531 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/1.216, allocations: 2.366 MB / 0.9439 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01566/1.232, allocations: 2.752 MB / 0.9465 GB, free: 2.465 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/1.266, allocations: 13.96 MB / 0.9602 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007557/1.273, allocations: 4.154 MB / 0.9642 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.01049/1.284, allocations: 1.864 MB / 0.9661 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/1.287, allocations: 436.2 kB / 0.9665 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of SimCode: time 1.913e-06/1.287, allocations: 4 kB / 0.9665 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.6479/1.935, allocations: 103.1 MB / 1.067 GB, free: 295.6 MB / 0.8731 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.23016286897473] Failed to read output from testmodel.py, exit status != 0: 1.9448412340134382 1.955246856 1.125586704 Calling exit ...