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.0009036/0.0009038, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00709/0.00709, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7671/0.7671, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005114, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5391, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06816/0.6074, allocations: 54.54 MB / 0.6369 GB, free: 9.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03103/0.6384, allocations: 17.7 MB / 0.6542 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/0.6432, allocations: 67.56 kB / 0.6543 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.6469, allocations: 0.7302 MB / 0.655 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00961/0.6565, allocations: 2.317 MB / 0.6572 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.6615, allocations: 1.377 MB / 0.6586 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03544/0.697, allocations: 27.78 MB / 0.6857 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.7128, allocations: 8.445 MB / 0.694 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/0.7267, allocations: 5.213 MB / 0.6991 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.7386, allocations: 5.811 MB / 0.7047 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002621/0.7412, allocations: 344 kB / 0.7051 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007088/0.7483, allocations: 1.03 MB / 0.7061 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00423/0.7526, allocations: 1.591 MB / 0.7076 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.7639, allocations: 3.893 MB / 0.7114 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.7824, allocations: 12.31 MB / 0.7234 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.7824, allocations: 0 / 0.7234 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7825, allocations: 0 / 0.7234 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005453/0.783, allocations: 0 / 0.7234 GB, free: 0.8359 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.01919/0.8022, allocations: 6.882 MB / 0.7302 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8023, allocations: 8.031 kB / 0.7302 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.8072, allocations: 0.8586 MB / 0.731 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/0.8225, allocations: 6.623 MB / 0.7375 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005739/0.8232, allocations: 456.2 kB / 0.7379 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.8257, allocations: 0.5936 MB / 0.7385 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02457/0.8503, allocations: 9.025 MB / 0.7473 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/0.8507, allocations: 19.88 kB / 0.7473 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/0.8527, allocations: 260 kB / 0.7476 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/0.853, allocations: 187.8 kB / 0.7477 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.8728, allocations: 7.457 MB / 0.755 GB, free: 15.99 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.06317/0.936, allocations: 35.99 MB / 0.7902 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007416/0.9434, allocations: 4.284 MB / 0.7944 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/0.9486, allocations: 3.336 MB / 0.7976 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.95, allocations: 0.9817 MB / 0.7986 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003884/0.9539, allocations: 2.394 MB / 0.8009 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002972/0.9568, allocations: 443.8 kB / 0.8013 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.19e-05/0.9569, allocations: 0 / 0.8013 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01366/0.9705, allocations: 7.14 MB / 0.8083 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.9706, allocations: 81.91 kB / 0.8084 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009549/0.9802, allocations: 5.459 MB / 0.8137 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008112/0.981, allocations: 97.69 kB / 0.8138 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.4029/1.384, allocations: 3.182 MB / 0.8169 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002508/1.386, allocations: 1.12 MB / 0.818 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/1.388, allocations: 361.7 kB / 0.8184 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.015e-05/1.388, allocations: 309.3 kB / 0.8187 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/1.392, allocations: 2.159 MB / 0.8208 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.398, allocations: 3.688 MB / 0.8244 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.408, allocations: 6.315 MB / 0.8305 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.159e-05/1.408, allocations: 14.94 kB / 0.8305 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01432/1.423, allocations: 6.766 MB / 0.8372 GB, free: 191 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/1.423, allocations: 57.94 kB / 0.8372 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.73e-05/1.423, allocations: 51.38 kB / 0.8373 GB, free: 191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.424, allocations: 437.4 kB / 0.8377 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/1.428, allocations: 1.011 MB / 0.8387 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005066/1.433, allocations: 5.262 MB / 0.8438 GB, free: 187 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/1.439, allocations: 475.1 kB / 0.8443 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008387/1.44, allocations: 213.1 kB / 0.8445 GB, free: 186.8 MB / 0.6387 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.005197/1.446, allocations: 2.482 MB / 0.8469 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.447, allocations: 0.5227 MB / 0.8474 GB, free: 185.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008725/1.456, allocations: 5.262 MB / 0.8525 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/1.456, allocations: 33.73 kB / 0.8526 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.456, allocations: 7.438 kB / 0.8526 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005858/1.462, allocations: 4.524 MB / 0.857 GB, free: 180.3 MB / 0.6387 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.02101/1.483, allocations: 12 MB / 0.8687 GB, free: 168.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.483, allocations: 0 / 0.8687 GB, free: 168.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/1.486, allocations: 0.6555 MB / 0.8693 GB, free: 167.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008323/1.487, allocations: 369.1 kB / 0.8697 GB, free: 167.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003744/1.488, allocations: 83.95 kB / 0.8698 GB, free: 167.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/1.492, allocations: 5.17 MB / 0.8748 GB, free: 162 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.492, allocations: 4 kB / 0.8748 GB, free: 162 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.504, allocations: 7.642 MB / 0.8823 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/1.508, allocations: 1.213 MB / 0.8835 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/1.509, allocations: 63.98 kB / 0.8835 GB, free: 153 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004814/1.514, allocations: 482.7 kB / 0.884 GB, free: 152.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005646/1.515, allocations: 198.2 kB / 0.8842 GB, free: 152.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/1.515, allocations: 135.9 kB / 0.8843 GB, free: 152.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006852/1.522, allocations: 3.807 MB / 0.888 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.202e-06/1.522, allocations: 0 / 0.888 GB, free: 148.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009192/1.531, allocations: 1.994 MB / 0.89 GB, free: 146.4 MB / 0.6387 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.001614/1.533, allocations: 484.7 kB / 0.8904 GB, free: 146 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00794/1.541, allocations: 5.388 MB / 0.8957 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/1.541, allocations: 0 / 0.8957 GB, free: 140.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.544, allocations: 2.519 MB / 0.8982 GB, free: 138 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01748/1.562, allocations: 3.22 MB / 0.9013 GB, free: 134.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/1.583, allocations: 16.69 MB / 0.9176 GB, free: 118.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/1.587, allocations: 4.631 MB / 0.9221 GB, free: 113.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006222/1.593, allocations: 1.99 MB / 0.9241 GB, free: 111.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.595, allocations: 451.3 kB / 0.9245 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.61e-07/1.595, allocations: 0 / 0.9245 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.1629/1.758, allocations: 114.9 MB / 1.037 GB, free: 13.27 MB / 0.6544 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)