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.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/package.mo", uses=false) 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.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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001449/0.00145, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.2 MB / 422.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.03 kB / 0.5013 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 80.2 MB / 0.5796 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05335/0.4484, allocations: 55.51 MB / 0.6338 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.4716, allocations: 17.79 MB / 0.6512 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.4752, allocations: 71.56 kB / 0.6513 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.4782, allocations: 0.7576 MB / 0.652 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007516/0.4857, allocations: 2.321 MB / 0.6543 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.4899, allocations: 1.393 MB / 0.6556 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.024/0.514, allocations: 21.31 MB / 0.6764 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.5285, allocations: 10.61 MB / 0.6868 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.5455, allocations: 7.229 MB / 0.6939 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.5572, allocations: 6.557 MB / 0.7003 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003136/0.5603, allocations: 0.9297 MB / 0.7012 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00755/0.5679, allocations: 1.702 MB / 0.7028 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004319/0.5723, allocations: 2.318 MB / 0.7051 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.5824, allocations: 4.703 MB / 0.7097 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.5995, allocations: 13.02 MB / 0.7224 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5996, allocations: 4 kB / 0.7224 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5996, allocations: 0 / 0.7224 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004337/0.6, allocations: 0 / 0.7224 GB, free: 15.02 MB / 0.5606 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.02044/0.6205, allocations: 8.506 MB / 0.7307 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6205, allocations: 8.031 kB / 0.7307 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.624, allocations: 0.8587 MB / 0.7316 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.6361, allocations: 6.613 MB / 0.738 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004786/0.6366, allocations: 456.2 kB / 0.7384 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.6385, allocations: 0.5975 MB / 0.739 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.6596, allocations: 9.021 MB / 0.7478 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.6598, allocations: 19.78 kB / 0.7479 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009285/0.6608, allocations: 264 kB / 0.7481 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.661, allocations: 184 kB / 0.7483 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.6747, allocations: 7.449 MB / 0.7556 GB, free: 12.57 MB / 0.5919 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.0461/0.7209, allocations: 35.91 MB / 0.7906 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/0.7267, allocations: 4.264 MB / 0.7948 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004304/0.731, allocations: 3.308 MB / 0.798 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.7323, allocations: 0.9582 MB / 0.799 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003793/0.7361, allocations: 2.382 MB / 0.8013 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003465/0.7396, allocations: 415.8 kB / 0.8017 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.115e-05/0.7396, allocations: 0 / 0.8017 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01284/0.7525, allocations: 7.132 MB / 0.8086 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.7526, allocations: 89.91 kB / 0.8087 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5688/1.321, allocations: 5.457 MB / 0.8141 GB, free: 201.1 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0008332/1.322, allocations: 86.55 kB / 0.8141 GB, free: 201 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003198/1.325, allocations: 3.194 MB / 0.8173 GB, free: 199.3 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/1.327, allocations: 1.12 MB / 0.8184 GB, free: 198.4 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/1.329, allocations: 0.8582 MB / 0.8192 GB, free: 198 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/1.329, allocations: 304.7 kB / 0.8195 GB, free: 197.7 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003701/1.332, allocations: 2.162 MB / 0.8216 GB, free: 197 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004449/1.337, allocations: 3.701 MB / 0.8252 GB, free: 194.4 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007928/1.345, allocations: 6.317 MB / 0.8314 GB, free: 190.5 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.203e-05/1.345, allocations: 16.69 kB / 0.8314 GB, free: 190.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01133/1.356, allocations: 6.784 MB / 0.838 GB, free: 187.9 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/1.356, allocations: 51.98 kB / 0.8381 GB, free: 187.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-05/1.356, allocations: 48.03 kB / 0.8381 GB, free: 187.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009838/1.357, allocations: 428.2 kB / 0.8385 GB, free: 187.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/1.361, allocations: 1.009 MB / 0.8395 GB, free: 187.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/1.365, allocations: 5.703 MB / 0.8451 GB, free: 183.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.371, allocations: 477.5 kB / 0.8455 GB, free: 183.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/1.371, allocations: 216.5 kB / 0.8457 GB, free: 183.3 MB / 0.6388 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.003498/1.375, allocations: 2.477 MB / 0.8482 GB, free: 182.3 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.376, allocations: 0.5233 MB / 0.8487 GB, free: 182 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007642/1.384, allocations: 5.275 MB / 0.8538 GB, free: 179.3 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.384, allocations: 36.09 kB / 0.8539 GB, free: 179.3 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.384, allocations: 3.906 kB / 0.8539 GB, free: 179.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004998/1.389, allocations: 4.535 MB / 0.8583 GB, free: 176.7 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.406, allocations: 11.95 MB / 0.87 GB, free: 165.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.406, allocations: 0 / 0.87 GB, free: 165.1 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.409, allocations: 0.6477 MB / 0.8706 GB, free: 164.4 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007711/1.41, allocations: 377.3 kB / 0.871 GB, free: 164.1 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002282/1.41, allocations: 79.95 kB / 0.871 GB, free: 164 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/1.414, allocations: 5.615 MB / 0.8765 GB, free: 158.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.414, allocations: 0 / 0.8765 GB, free: 158.1 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/1.424, allocations: 7.776 MB / 0.8841 GB, free: 150.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003327/1.428, allocations: 1.135 MB / 0.8852 GB, free: 149.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.429, allocations: 63.98 kB / 0.8853 GB, free: 149 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/1.433, allocations: 462.3 kB / 0.8857 GB, free: 148.6 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/1.433, allocations: 198.2 kB / 0.8859 GB, free: 148.4 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.433, allocations: 143.8 kB / 0.886 GB, free: 148.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.004566/1.438, allocations: 3.807 MB / 0.8898 GB, free: 144.4 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.3e-07/1.438, allocations: 0 / 0.8898 GB, free: 144.4 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.005419/1.443, allocations: 1.996 MB / 0.8917 GB, free: 142.5 MB / 0.6388 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.001088/1.445, allocations: 480.7 kB / 0.8922 GB, free: 142 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01814/1.463, allocations: 11.63 MB / 0.9035 GB, free: 130.4 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.463, allocations: 4.5 kB / 0.9035 GB, free: 130.4 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/1.466, allocations: 2.54 MB / 0.906 GB, free: 127.8 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/1.48, allocations: 3.396 MB / 0.9093 GB, free: 124.7 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.503, allocations: 16.6 MB / 0.9255 GB, free: 108.1 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.506, allocations: 4.628 MB / 0.9301 GB, free: 103.4 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.005827/1.512, allocations: 2.024 MB / 0.932 GB, free: 101.4 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.514, allocations: 459.2 kB / 0.9325 GB, free: 100.9 MB / 0.6388 GB Notification: Performance of SimCode: time 8.31e-07/1.514, allocations: 0 / 0.9325 GB, free: 100.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.1579/1.672, allocations: 119.7 MB / 1.049 GB, free: 14.38 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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)