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.001477/0.001477, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.001612/0.001612, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7973/0.7973, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.78 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 80.21 MB / 0.6603 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05051/0.1854, allocations: 55.98 MB / 0.715 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.2071, allocations: 17.93 MB / 0.7325 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.2098, allocations: 79.67 kB / 0.7326 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.2125, allocations: 0.9041 MB / 0.7335 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006735/0.2193, allocations: 2.616 MB / 0.736 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.223, allocations: 1.531 MB / 0.7375 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3333/0.5563, allocations: 21.25 MB / 0.7583 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.5699, allocations: 10.71 MB / 0.7687 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.584, allocations: 7.249 MB / 0.7758 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.5951, allocations: 6.371 MB / 0.782 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002969/0.5981, allocations: 0.9399 MB / 0.7829 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006945/0.605, allocations: 1.705 MB / 0.7846 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003972/0.609, allocations: 2.341 MB / 0.7869 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01434/0.6234, allocations: 4.707 MB / 0.7915 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01822/0.6416, allocations: 13.24 MB / 0.8044 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6417, allocations: 0 / 0.8044 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6417, allocations: 4.844 kB / 0.8044 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004575/0.6421, allocations: 0 / 0.8044 GB, free: 12.72 MB / 0.5919 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.0212/0.6633, allocations: 8.725 MB / 0.813 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6634, allocations: 8.031 kB / 0.813 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.6675, allocations: 0.8942 MB / 0.8138 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.6809, allocations: 6.733 MB / 0.8204 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.6813, allocations: 466.4 kB / 0.8209 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.6834, allocations: 0.5968 MB / 0.8214 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.7043, allocations: 9.024 MB / 0.8302 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/0.7046, allocations: 25.45 kB / 0.8303 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/0.7066, allocations: 258.4 kB / 0.8305 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.7068, allocations: 182.7 kB / 0.8307 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.7225, allocations: 7.45 MB / 0.838 GB, free: 13.15 MB / 0.6231 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.04983/0.7724, allocations: 36.06 MB / 0.8732 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.7789, allocations: 4.278 MB / 0.8774 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/0.7837, allocations: 3.304 MB / 0.8806 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.7853, allocations: 0.9563 MB / 0.8815 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00486/0.7902, allocations: 2.382 MB / 0.8838 GB, free: 12.58 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002816/0.793, allocations: 387.8 kB / 0.8842 GB, free: 12.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.083e-05/0.793, allocations: 0 / 0.8842 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01337/0.8064, allocations: 7.152 MB / 0.8912 GB, free: 4.977 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.8065, allocations: 89.91 kB / 0.8913 GB, free: 4.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/0.817, allocations: 5.67 MB / 0.8968 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007612/0.8178, allocations: 89.64 kB / 0.8969 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/0.8212, allocations: 3.274 MB / 0.9001 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/0.8229, allocations: 1.173 MB / 0.9013 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/0.825, allocations: 0.8624 MB / 0.9021 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.8251, allocations: 309.1 kB / 0.9024 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.8287, allocations: 2.16 MB / 0.9045 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/0.8333, allocations: 3.694 MB / 0.9081 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/0.842, allocations: 6.32 MB / 0.9143 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.878e-05/0.842, allocations: 19.98 kB / 0.9143 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01244/0.8545, allocations: 6.797 MB / 0.9209 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/0.8546, allocations: 53.7 kB / 0.921 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/0.8547, allocations: 48 kB / 0.921 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.8557, allocations: 437 kB / 0.9214 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.8595, allocations: 1.007 MB / 0.9224 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005866/0.8654, allocations: 5.704 MB / 0.928 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/0.8703, allocations: 283.6 kB / 0.9283 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007643/0.8711, allocations: 220 kB / 0.9285 GB, free: 13.7 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.004955/0.876, allocations: 2.479 MB / 0.9309 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/0.8781, allocations: 0.559 MB / 0.9315 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.8883, allocations: 5.264 MB / 0.9366 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007045/0.8954, allocations: 4.528 MB / 0.941 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.8955, allocations: 4 kB / 0.941 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/0.8989, allocations: 1.208 MB / 0.9422 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002008/0.9009, allocations: 67.92 kB / 0.9423 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004206/0.9051, allocations: 194 kB / 0.9424 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/0.9057, allocations: 210.2 kB / 0.9426 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01097/0.9167, allocations: 5.249 MB / 0.9478 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01256/0.9293, allocations: 7.956 MB / 0.9555 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003165/0.9325, allocations: 2.229 MB / 0.9577 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007541/0.9401, allocations: 3.959 MB / 0.9616 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of Backend: time 1.182e-06/0.9401, allocations: 0 / 0.9616 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.9519, allocations: 4.117 MB / 0.9656 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of SimCode: time 0.03614/0.9881, allocations: 15.66 MB / 0.9809 GB, free: 8.168 MB / 0.7637 GB Notification: Performance of Templates: time 0.4915/1.48, allocations: 118.2 MB / 1.096 GB, free: 298 MB / 0.8262 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)