Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001443/0.001443, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001513/0.001513, allocations: 158.3 kB / 23.01 MB, free: 4.961 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8127/0.8127, allocations: 101.3 MB / 361.1 MB, free: 9.578 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: IDEAS 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.002027/0.002027, allocations: 64.86 kB / 0.5356 GB, free: 5.262 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1676, allocations: 85.89 MB / 0.6195 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06392/0.2315, allocations: 51.55 MB / 0.6698 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.2571, allocations: 16.83 MB / 0.6863 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.26, allocations: 99.19 kB / 0.6864 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.2631, allocations: 0.9002 MB / 0.6872 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008209/0.2713, allocations: 2.659 MB / 0.6898 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.2757, allocations: 1.559 MB / 0.6914 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.4777/0.7534, allocations: 21.99 MB / 0.7128 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01674/0.7702, allocations: 7.131 MB / 0.7198 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02315/0.7933, allocations: 7.402 MB / 0.727 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01758/0.8109, allocations: 7 MB / 0.7339 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00495/0.8158, allocations: 0.9388 MB / 0.7348 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.827, allocations: 1.577 MB / 0.7363 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.008118/0.8351, allocations: 2.437 MB / 0.7387 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01612/0.8512, allocations: 3.852 MB / 0.7425 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0265/0.8777, allocations: 13.34 MB / 0.7555 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.8777, allocations: 3.984 kB / 0.7555 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8777, allocations: 0 / 0.7555 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006488/0.8784, allocations: 4 kB / 0.7555 GB, free: 12.31 MB / 0.6075 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.03156/0.9099, allocations: 8.639 MB / 0.7639 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.91, allocations: 16.67 kB / 0.764 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/0.9169, allocations: 0.9557 MB / 0.7649 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.9353, allocations: 6.768 MB / 0.7715 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006358/0.9359, allocations: 462.6 kB / 0.7719 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/0.9388, allocations: 0.5935 MB / 0.7725 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.9679, allocations: 10.1 MB / 0.7824 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003472/0.9683, allocations: 19.92 kB / 0.7824 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002358/0.9706, allocations: 261.5 kB / 0.7827 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002271/0.9708, allocations: 178.6 kB / 0.7828 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/0.9911, allocations: 7.45 MB / 0.7901 GB, free: 13.84 MB / 0.6387 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.0603/1.051, allocations: 26.34 MB / 0.8158 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/1.059, allocations: 3.98 MB / 0.8197 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006097/1.065, allocations: 3.027 MB / 0.8227 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.066, allocations: 203 kB / 0.8229 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00626/1.073, allocations: 3.455 MB / 0.8262 GB, free: 8.844 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003292/1.076, allocations: 329.8 kB / 0.8265 GB, free: 8.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 2.301e-05/1.076, allocations: 0 / 0.8265 GB, free: 8.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01805/1.094, allocations: 6.936 MB / 0.8333 GB, free: 1.551 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/1.094, allocations: 90.91 kB / 0.8334 GB, free: 1.453 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.106, allocations: 4.973 MB / 0.8383 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.107, allocations: 93.7 kB / 0.8384 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.004387/1.111, allocations: 3.276 MB / 0.8416 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002304/1.113, allocations: 1.171 MB / 0.8427 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002942/1.116, allocations: 0.8624 MB / 0.8435 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.117, allocations: 310.9 kB / 0.8438 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.121, allocations: 2.192 MB / 0.846 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006159/1.127, allocations: 3.822 MB / 0.8497 GB, free: 24 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.138, allocations: 6.324 MB / 0.8559 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.755e-05/1.138, allocations: 16 kB / 0.8559 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01522/1.154, allocations: 6.755 MB / 0.8625 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.154, allocations: 57.69 kB / 0.8626 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-05/1.154, allocations: 48 kB / 0.8626 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.155, allocations: 432 kB / 0.863 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/1.159, allocations: 1.012 MB / 0.864 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007126/1.166, allocations: 5.367 MB / 0.8692 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/1.172, allocations: 295.7 kB / 0.8695 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.173, allocations: 216 kB / 0.8697 GB, free: 11.19 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.006039/1.179, allocations: 2.484 MB / 0.8722 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/1.181, allocations: 0.4891 MB / 0.8726 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.192, allocations: 5.208 MB / 0.8777 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.192, allocations: 28 kB / 0.8777 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.192, allocations: 8 kB / 0.8778 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008084/1.2, allocations: 4.52 MB / 0.8822 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.225, allocations: 10.45 MB / 0.8924 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.225, allocations: 4 kB / 0.8924 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/1.228, allocations: 0.6399 MB / 0.893 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009287/1.229, allocations: 373.3 kB / 0.8934 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000356/1.23, allocations: 83.95 kB / 0.8934 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/1.236, allocations: 5.267 MB / 0.8986 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.236, allocations: 8.062 kB / 0.8986 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/1.25, allocations: 7.686 MB / 0.9061 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003616/1.254, allocations: 1.074 MB / 0.9071 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.255, allocations: 71.98 kB / 0.9072 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/1.259, allocations: 191.5 kB / 0.9074 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/1.259, allocations: 206.1 kB / 0.9076 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004821/1.26, allocations: 139.8 kB / 0.9077 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007565/1.267, allocations: 3.388 MB / 0.911 GB, free: 468 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.267, allocations: 4 kB / 0.911 GB, free: 464 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.008347/1.276, allocations: 2.086 MB / 0.9131 GB, free: 14.36 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.001452/1.277, allocations: 466.7 kB / 0.9135 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009886/1.287, allocations: 5.265 MB / 0.9187 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.287, allocations: 4 kB / 0.9187 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004244/1.291, allocations: 2.378 MB / 0.921 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/1.306, allocations: 2.764 MB / 0.9237 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/1.335, allocations: 13.96 MB / 0.9373 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006725/1.341, allocations: 4.146 MB / 0.9414 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.007094/1.348, allocations: 1.876 MB / 0.9432 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001971/1.35, allocations: 436.2 kB / 0.9436 GB, free: 15.05 MB / 0.795 GB Notification: Performance of SimCode: time 9.72e-07/1.35, allocations: 0 / 0.9436 GB, free: 15.05 MB / 0.795 GB Notification: Performance of Templates: time 0.5145/1.865, allocations: 103 MB / 1.044 GB, free: 308.7 MB / 0.8575 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.351034390972927] Failed to read output from testmodel.py, exit status != 0: 1.8750991070410237 1.889584031 1.008661702 Calling exit ...