Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001702/0.001702, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9356/0.9356, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 69.47 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.189, allocations: 80.93 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4493/0.6383, allocations: 55.62 MB / 0.638 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.66, allocations: 17.91 MB / 0.6555 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004176/0.6643, allocations: 71.59 kB / 0.6556 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.6676, allocations: 0.722 MB / 0.6563 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007954/0.6756, allocations: 2.319 MB / 0.6586 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.6797, allocations: 1.377 MB / 0.6599 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.03492/0.7146, allocations: 27.77 MB / 0.687 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/0.7326, allocations: 8.73 MB / 0.6955 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.749, allocations: 5.534 MB / 0.7009 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01425/0.7633, allocations: 6.194 MB / 0.707 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002991/0.7663, allocations: 483.9 kB / 0.7075 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007566/0.7739, allocations: 1.147 MB / 0.7086 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004542/0.7785, allocations: 1.794 MB / 0.7103 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01308/0.7916, allocations: 4.125 MB / 0.7144 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02094/0.8126, allocations: 12.65 MB / 0.7267 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8127, allocations: 0 / 0.7267 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8127, allocations: 0 / 0.7267 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005536/0.8132, allocations: 0 / 0.7267 GB, free: 11.04 MB / 0.545 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.02924/0.8425, allocations: 8.501 MB / 0.735 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.8426, allocations: 8.031 kB / 0.735 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.8482, allocations: 0.8548 MB / 0.7359 GB, free: 1.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/0.8645, allocations: 6.619 MB / 0.7423 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/0.8651, allocations: 468.2 kB / 0.7428 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/0.868, allocations: 0.5975 MB / 0.7433 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/0.899, allocations: 9.027 MB / 0.7522 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003307/0.8994, allocations: 23.78 kB / 0.7522 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/0.9019, allocations: 264 kB / 0.7524 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002674/0.9022, allocations: 172 kB / 0.7526 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/0.9241, allocations: 7.453 MB / 0.7599 GB, free: 8.59 MB / 0.5762 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.07104/0.9952, allocations: 35.9 MB / 0.7949 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008204/1.003, allocations: 4.284 MB / 0.7991 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.01, allocations: 3.31 MB / 0.8024 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.011, allocations: 0.9582 MB / 0.8033 GB, free: 9.898 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0054/1.017, allocations: 2.39 MB / 0.8056 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004064/1.021, allocations: 447.8 kB / 0.8061 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.514e-05/1.021, allocations: 0 / 0.8061 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01748/1.038, allocations: 7.097 MB / 0.813 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.038, allocations: 97.83 kB / 0.8131 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/1.051, allocations: 5.455 MB / 0.8184 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009909/1.052, allocations: 85.7 kB / 0.8185 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004345/1.056, allocations: 3.196 MB / 0.8216 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/1.058, allocations: 1.121 MB / 0.8227 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003015/1.061, allocations: 0.8502 MB / 0.8235 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.061, allocations: 309.1 kB / 0.8238 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004406/1.066, allocations: 2.152 MB / 0.8259 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.072, allocations: 3.689 MB / 0.8295 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.083, allocations: 6.3 MB / 0.8357 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.799e-05/1.083, allocations: 12 kB / 0.8357 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01592/1.099, allocations: 6.745 MB / 0.8423 GB, free: 304 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.099, allocations: 53.7 kB / 0.8423 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.099, allocations: 48 kB / 0.8424 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.1, allocations: 445.2 kB / 0.8428 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/1.105, allocations: 1.01 MB / 0.8438 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/1.111, allocations: 5.257 MB / 0.8489 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00652/1.118, allocations: 462.8 kB / 0.8494 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.119, allocations: 224 kB / 0.8496 GB, free: 8.543 MB / 0.67 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.006309/1.125, allocations: 2.485 MB / 0.852 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002988/1.128, allocations: 0.5249 MB / 0.8525 GB, free: 5.52 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.141, allocations: 5.243 MB / 0.8576 GB, free: 236 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/1.141, allocations: 32.19 kB / 0.8577 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/1.141, allocations: 11.88 kB / 0.8577 GB, free: 192 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6679/1.809, allocations: 4.524 MB / 0.8621 GB, free: 201.8 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 postOpt removeSimpleEquations (simulation): time 0.02234/1.832, allocations: 11.95 MB / 0.8738 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.832, allocations: 0 / 0.8738 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.834, allocations: 0.6462 MB / 0.8744 GB, free: 197.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007665/1.835, allocations: 375.2 kB / 0.8748 GB, free: 197.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/1.835, allocations: 80.5 kB / 0.8748 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004177/1.839, allocations: 5.174 MB / 0.8799 GB, free: 193.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.839, allocations: 2.844 kB / 0.8799 GB, free: 193.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.851, allocations: 7.618 MB / 0.8873 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003727/1.854, allocations: 1.125 MB / 0.8884 GB, free: 190.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.856, allocations: 69.36 kB / 0.8885 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004511/1.86, allocations: 465.5 kB / 0.8889 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/1.861, allocations: 206.7 kB / 0.8891 GB, free: 190.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/1.861, allocations: 135.9 kB / 0.8893 GB, free: 190.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006868/1.868, allocations: 3.809 MB / 0.893 GB, free: 188.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.11e-07/1.868, allocations: 1.531 kB / 0.893 GB, free: 188.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008404/1.877, allocations: 1.99 MB / 0.8949 GB, free: 188.6 MB / 0.67 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.001606/1.878, allocations: 488.8 kB / 0.8954 GB, free: 188.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009383/1.888, allocations: 5.372 MB / 0.9006 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.888, allocations: 2.75 kB / 0.9006 GB, free: 186.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.892, allocations: 2.502 MB / 0.9031 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01728/1.909, allocations: 3.221 MB / 0.9062 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03534/1.945, allocations: 16.45 MB / 0.9223 GB, free: 176.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007854/1.952, allocations: 4.628 MB / 0.9268 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008288/1.961, allocations: 2 MB / 0.9288 GB, free: 174.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/1.963, allocations: 458.3 kB / 0.9292 GB, free: 174.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.884e-06/1.963, allocations: 0 / 0.9292 GB, free: 174.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1564/2.12, allocations: 116 MB / 1.042 GB, free: 65.11 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)