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.001654/0.001654, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001829/0.001829, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.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.8831/0.8831, allocations: 134 MB / 447.2 MB, free: 10.3 MB / 350.1 MB " [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.001997/0.001997, allocations: 70.45 kB / 0.6198 GB, free: 6.781 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1961, allocations: 85.91 MB / 0.7037 GB, free: 0.9375 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4862/0.6823, allocations: 57.16 MB / 0.7595 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.7098, allocations: 18.19 MB / 0.7772 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005043/0.7148, allocations: 102.9 kB / 0.7773 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004757/0.7196, allocations: 0.9271 MB / 0.7783 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.7304, allocations: 2.67 MB / 0.7809 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/0.7358, allocations: 1.608 MB / 0.7824 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02903/0.7649, allocations: 21.81 MB / 0.8037 GB, free: 9.25 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01287/0.7777, allocations: 7.14 MB / 0.8107 GB, free: 4.488 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01868/0.7964, allocations: 7.358 MB / 0.8179 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.8117, allocations: 6.681 MB / 0.8244 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003786/0.8155, allocations: 0.9414 MB / 0.8253 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009044/0.8245, allocations: 1.784 MB / 0.8271 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005381/0.8299, allocations: 2.436 MB / 0.8294 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01288/0.8428, allocations: 4.711 MB / 0.834 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02312/0.8659, allocations: 13.29 MB / 0.847 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8659, allocations: 0 / 0.847 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8659, allocations: 0 / 0.847 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005301/0.8664, allocations: 0 / 0.847 GB, free: 2.742 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.02499/0.8914, allocations: 8.645 MB / 0.8555 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8914, allocations: 12.03 kB / 0.8555 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/0.8969, allocations: 0.9527 MB / 0.8564 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.914, allocations: 6.775 MB / 0.863 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005407/0.9145, allocations: 456.2 kB / 0.8635 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002561/0.9171, allocations: 0.5968 MB / 0.864 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02554/0.9426, allocations: 9.044 MB / 0.8729 GB, free: 7.984 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.9428, allocations: 19.88 kB / 0.8729 GB, free: 7.965 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/0.9446, allocations: 262.2 kB / 0.8731 GB, free: 7.711 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/0.9449, allocations: 176 kB / 0.8733 GB, free: 7.539 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.9642, allocations: 7.461 MB / 0.8806 GB, free: 72 kB / 0.6388 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.06815/1.032, allocations: 35.98 MB / 0.9157 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008176/1.041, allocations: 3.996 MB / 0.9196 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006059/1.047, allocations: 3.027 MB / 0.9226 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.048, allocations: 216 kB / 0.9228 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005469/1.053, allocations: 2.398 MB / 0.9251 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003434/1.057, allocations: 403.1 kB / 0.9255 GB, free: 264 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.854e-05/1.057, allocations: 0 / 0.9255 GB, free: 264 kB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01849/1.075, allocations: 6.995 MB / 0.9324 GB, free: 9.215 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/1.075, allocations: 89.91 kB / 0.9324 GB, free: 9.113 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.089, allocations: 5.686 MB / 0.938 GB, free: 3.449 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.0009531/1.09, allocations: 85.7 kB / 0.9381 GB, free: 3.359 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.00463/1.094, allocations: 3.275 MB / 0.9413 GB, free: 80 kB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.096, allocations: 1.166 MB / 0.9424 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/1.099, allocations: 0.8663 MB / 0.9433 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.099, allocations: 301.1 kB / 0.9436 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/1.104, allocations: 2.163 MB / 0.9457 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005864/1.11, allocations: 3.697 MB / 0.9493 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.121, allocations: 6.319 MB / 0.9554 GB, free: 144 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.018e-05/1.121, allocations: 12 kB / 0.9555 GB, free: 132 kB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0166/1.137, allocations: 6.794 MB / 0.9621 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.137, allocations: 53.7 kB / 0.9621 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.138, allocations: 48 kB / 0.9622 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/1.139, allocations: 431.5 kB / 0.9626 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/1.143, allocations: 1.006 MB / 0.9636 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.151, allocations: 5.487 MB / 0.9689 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.156, allocations: 295.6 kB / 0.9692 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.158, allocations: 216 kB / 0.9694 GB, free: 1.547 MB / 0.7325 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.006448/1.164, allocations: 2.483 MB / 0.9719 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002507/1.166, allocations: 0.5473 MB / 0.9724 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.179, allocations: 5.264 MB / 0.9775 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/1.179, allocations: 36 kB / 0.9776 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.179, allocations: 8 kB / 0.9776 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008796/1.188, allocations: 4.518 MB / 0.982 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03389/1.222, allocations: 12.03 MB / 0.9937 GB, free: 8.434 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/1.222, allocations: 0 / 0.9937 GB, free: 8.434 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.225, allocations: 0.6476 MB / 0.9944 GB, free: 7.785 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/1.227, allocations: 368.5 kB / 0.9947 GB, free: 7.422 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008351/1.227, allocations: 79.95 kB / 0.9948 GB, free: 7.344 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/1.234, allocations: 5.42 MB / 1 GB, free: 1.711 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.234, allocations: 0 / 1 GB, free: 1.711 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.251, allocations: 7.784 MB / 1.008 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005103/1.256, allocations: 1.139 MB / 1.009 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002229/1.259, allocations: 67.98 kB / 1.009 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004579/1.263, allocations: 192 kB / 1.009 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009051/1.264, allocations: 218 kB / 1.009 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007734/1.265, allocations: 139.9 kB / 1.009 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009613/1.275, allocations: 3.971 MB / 1.013 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/1.275, allocations: 0 / 1.013 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01003/1.285, allocations: 2.023 MB / 1.015 GB, free: 2.105 MB / 0.7794 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.00209/1.287, allocations: 476 kB / 1.016 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.299, allocations: 5.241 MB / 1.021 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/1.299, allocations: 4.5 kB / 1.021 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00538/1.304, allocations: 2.373 MB / 1.023 GB, free: 9.949 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01961/1.324, allocations: 3.384 MB / 1.026 GB, free: 6.672 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.362, allocations: 14.23 MB / 1.04 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009522/1.371, allocations: 4.553 MB / 1.045 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/1.374, allocations: 495.2 kB / 1.045 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of SimCode: time 1.823e-06/1.374, allocations: 0 / 1.045 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of Templates: time 1.034/2.408, allocations: 188.5 MB / 1.229 GB, free: 141.7 MB / 0.8263 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 28.91803647018969] Failed to read output from testmodel.py, exit status != 0: 2.418393504107371 2.428746081 1.559983412 Calling exit ...