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.007316/0.007316, allocations: 98.97 kB / 15.73 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.001241/0.001241, allocations: 200.8 kB / 16.68 MB, free: 5.93 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7995/0.7995, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 65.41 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1815, allocations: 80.92 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05493/0.2365, allocations: 55.99 MB / 0.7193 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02443/0.261, allocations: 17.92 MB / 0.7368 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.2646, allocations: 75.62 kB / 0.7369 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.2681, allocations: 0.8924 MB / 0.7378 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009023/0.2772, allocations: 2.503 MB / 0.7402 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.2823, allocations: 1.536 MB / 0.7417 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.4682/0.7505, allocations: 21.2 MB / 0.7624 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01799/0.7685, allocations: 10.71 MB / 0.7729 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02209/0.7906, allocations: 7.183 MB / 0.7799 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01616/0.8069, allocations: 6.374 MB / 0.7861 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005554/0.8125, allocations: 0.9356 MB / 0.787 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.8229, allocations: 1.701 MB / 0.7887 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006057/0.829, allocations: 2.344 MB / 0.791 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01632/0.8453, allocations: 4.704 MB / 0.7956 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02242/0.8678, allocations: 13.25 MB / 0.8085 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8678, allocations: 0 / 0.8085 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8678, allocations: 0 / 0.8085 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005198/0.8684, allocations: 4 kB / 0.8085 GB, free: 9.895 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.02558/0.894, allocations: 8.736 MB / 0.817 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.894, allocations: 9.109 kB / 0.817 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/0.8995, allocations: 0.8916 MB / 0.8179 GB, free: 292 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.9147, allocations: 6.735 MB / 0.8245 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.9152, allocations: 463.1 kB / 0.8249 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003273/0.9185, allocations: 0.5971 MB / 0.8255 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.9426, allocations: 9.03 MB / 0.8343 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/0.9428, allocations: 20.02 kB / 0.8344 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009855/0.9438, allocations: 259.4 kB / 0.8346 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.944, allocations: 178.6 kB / 0.8348 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.9606, allocations: 7.45 MB / 0.842 GB, free: 7.621 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.0698/1.03, allocations: 36.07 MB / 0.8773 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.041, allocations: 4.276 MB / 0.8814 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007308/1.048, allocations: 3.302 MB / 0.8847 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/1.05, allocations: 0.9523 MB / 0.8856 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006896/1.057, allocations: 2.386 MB / 0.8879 GB, free: 7.035 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004176/1.061, allocations: 380 kB / 0.8883 GB, free: 6.664 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 2.067e-05/1.061, allocations: 4 kB / 0.8883 GB, free: 6.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01694/1.078, allocations: 7.154 MB / 0.8953 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.078, allocations: 97.66 kB / 0.8954 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.089, allocations: 5.67 MB / 0.9009 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006228/1.09, allocations: 85.7 kB / 0.901 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003558/1.093, allocations: 3.268 MB / 0.9042 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.095, allocations: 1.171 MB / 0.9053 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/1.097, allocations: 0.8647 MB / 0.9062 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.097, allocations: 305.1 kB / 0.9065 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003676/1.1, allocations: 2.163 MB / 0.9086 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00605/1.106, allocations: 3.696 MB / 0.9122 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009417/1.116, allocations: 6.325 MB / 0.9184 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.403e-05/1.116, allocations: 16 kB / 0.9184 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01306/1.129, allocations: 6.795 MB / 0.925 GB, free: 20 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.129, allocations: 61.69 kB / 0.9251 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-05/1.129, allocations: 51.66 kB / 0.9251 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/1.13, allocations: 436.2 kB / 0.9255 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/1.134, allocations: 1.002 MB / 0.9265 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/1.14, allocations: 5.701 MB / 0.9321 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005814/1.146, allocations: 287.5 kB / 0.9324 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009598/1.147, allocations: 224 kB / 0.9326 GB, free: 8.008 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.005888/1.153, allocations: 2.475 MB / 0.935 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/1.155, allocations: 0.5551 MB / 0.9355 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.166, allocations: 5.272 MB / 0.9407 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/1.166, allocations: 32 kB / 0.9407 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.166, allocations: 4 kB / 0.9407 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007171/1.173, allocations: 4.524 MB / 0.9451 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.198, allocations: 11.98 MB / 0.9568 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.198, allocations: 11.97 kB / 0.9568 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/1.201, allocations: 0.6436 MB / 0.9575 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009179/1.202, allocations: 372.8 kB / 0.9578 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/1.202, allocations: 83.95 kB / 0.9579 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006772/1.209, allocations: 5.634 MB / 0.9634 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.209, allocations: 0 / 0.9634 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.222, allocations: 7.788 MB / 0.971 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003655/1.226, allocations: 1.185 MB / 0.9722 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/1.228, allocations: 71.92 kB / 0.9722 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004274/1.232, allocations: 195.3 kB / 0.9724 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005617/1.233, allocations: 194.2 kB / 0.9726 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005887/1.233, allocations: 139.9 kB / 0.9727 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.009581/1.243, allocations: 3.963 MB / 0.9766 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.31e-07/1.243, allocations: 3.938 kB / 0.9766 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01027/1.253, allocations: 2.027 MB / 0.9786 GB, free: 8.266 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.001996/1.255, allocations: 0.491 MB / 0.9791 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.268, allocations: 5.444 MB / 0.9844 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.268, allocations: 4 kB / 0.9844 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/1.273, allocations: 2.545 MB / 0.9869 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02117/1.294, allocations: 3.383 MB / 0.9902 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/1.324, allocations: 14.09 MB / 1.004 GB, free: 14.31 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005179/1.329, allocations: 4.628 MB / 1.008 GB, free: 9.645 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0073/1.337, allocations: 2.075 MB / 1.01 GB, free: 7.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/1.339, allocations: 467.2 kB / 1.011 GB, free: 7.113 MB / 0.795 GB Notification: Performance of SimCode: time 1.343e-06/1.339, allocations: 0 / 1.011 GB, free: 7.113 MB / 0.795 GB Notification: Performance of Templates: time 0.621/1.96, allocations: 116.6 MB / 1.125 GB, free: 288 MB / 0.8419 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)