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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.368/1.368, allocations: 154.6 MB / 414.2 MB, free: 0.625 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.143e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07814/0.07818, allocations: 57.93 MB / 0.5762 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03288/0.1111, allocations: 18.7 MB / 0.5944 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.1146, allocations: 99.19 kB / 0.5945 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.118, allocations: 0.9077 MB / 0.5954 GB, free: 4.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.1286, allocations: 2.731 MB / 0.5981 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.1342, allocations: 1.684 MB / 0.5997 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.03238/0.1666, allocations: 22.25 MB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01531/0.1819, allocations: 7.4 MB / 0.6287 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03199/0.2139, allocations: 10.49 MB / 0.6389 GB, free: 8.199 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01688/0.2307, allocations: 6.488 MB / 0.6453 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.00423/0.235, allocations: 0.9414 MB / 0.6462 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.2484, allocations: 1.588 MB / 0.6477 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.006299/0.2547, allocations: 2.519 MB / 0.6502 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01255/0.2672, allocations: 3.38 MB / 0.6535 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02495/0.2922, allocations: 13.59 MB / 0.6668 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.2922, allocations: 0 / 0.6668 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2922, allocations: 0 / 0.6668 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0006128/0.2928, allocations: 0 / 0.6668 GB, free: 11.62 MB / 0.6355 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.02973/0.3225, allocations: 9.631 MB / 0.6762 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3226, allocations: 8.031 kB / 0.6762 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005668/0.3283, allocations: 1.518 MB / 0.6777 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5273/0.8556, allocations: 6.274 MB / 0.6838 GB, free: 185.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.856, allocations: 460.2 kB / 0.6842 GB, free: 185.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/0.8587, allocations: 0.6173 MB / 0.6848 GB, free: 185 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02141/0.8801, allocations: 10.16 MB / 0.6948 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.8803, allocations: 16.47 kB / 0.6948 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.8814, allocations: 263.5 kB / 0.695 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.8816, allocations: 186.1 kB / 0.6952 GB, free: 179.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.8957, allocations: 6.178 MB / 0.7012 GB, free: 177.4 MB / 0.6355 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.05985/0.9556, allocations: 49.64 MB / 0.7497 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00624/0.9618, allocations: 3.508 MB / 0.7531 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004686/0.9665, allocations: 2.636 MB / 0.7557 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009401/0.9675, allocations: 204.8 kB / 0.7559 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003366/0.9708, allocations: 3.154 MB / 0.759 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002251/0.9731, allocations: 318.6 kB / 0.7593 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 7.113e-06/0.9731, allocations: 0 / 0.7593 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.0103/0.9834, allocations: 5.836 MB / 0.765 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.9834, allocations: 85.91 kB / 0.7651 GB, free: 125.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007466/0.9909, allocations: 6.1 MB / 0.771 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0007919/0.9917, allocations: 89.7 kB / 0.7711 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/0.9945, allocations: 3.729 MB / 0.7748 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/0.9961, allocations: 1.281 MB / 0.776 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.9974, allocations: 1.088 MB / 0.7771 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.456e-05/0.9975, allocations: 480.7 kB / 0.7775 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.9998, allocations: 1.708 MB / 0.7792 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003193/1.003, allocations: 4.198 MB / 0.7833 GB, free: 106 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/1.01, allocations: 6.325 MB / 0.7895 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.163e-05/1.01, allocations: 16 kB / 0.7895 GB, free: 98.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01002/1.02, allocations: 6.057 MB / 0.7954 GB, free: 92.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/1.02, allocations: 60.8 kB / 0.7955 GB, free: 92.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.458e-05/1.02, allocations: 48 kB / 0.7955 GB, free: 92.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/1.022, allocations: 0.5285 MB / 0.796 GB, free: 92.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/1.025, allocations: 1.001 MB / 0.797 GB, free: 91.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/1.03, allocations: 6.599 MB / 0.8035 GB, free: 84.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.035, allocations: 287.5 kB / 0.8037 GB, free: 83.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000719/1.036, allocations: 212 kB / 0.8039 GB, free: 83.77 MB / 0.6355 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.003747/1.04, allocations: 2.187 MB / 0.8061 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.041, allocations: 0.5867 MB / 0.8066 GB, free: 80.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/1.048, allocations: 4.305 MB / 0.8108 GB, free: 76.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.048, allocations: 32 kB / 0.8109 GB, free: 76.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.048, allocations: 6.844 kB / 0.8109 GB, free: 76.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005011/1.053, allocations: 3.701 MB / 0.8145 GB, free: 72.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/1.076, allocations: 11.56 MB / 0.8258 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.076, allocations: 0 / 0.8258 GB, free: 61.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.078, allocations: 0.6317 MB / 0.8264 GB, free: 60.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/1.08, allocations: 480.2 kB / 0.8269 GB, free: 60.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003141/1.081, allocations: 87.56 kB / 0.8269 GB, free: 60.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/1.085, allocations: 6.506 MB / 0.8333 GB, free: 53.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.085, allocations: 2.812 kB / 0.8333 GB, free: 53.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.096, allocations: 6.568 MB / 0.8397 GB, free: 46.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003938/1.1, allocations: 0.971 MB / 0.8407 GB, free: 45.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/1.101, allocations: 67.98 kB / 0.8407 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/1.105, allocations: 192 kB / 0.8409 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.105, allocations: 214 kB / 0.8411 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003073/1.106, allocations: 143.9 kB / 0.8413 GB, free: 45.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005409/1.111, allocations: 3.489 MB / 0.8447 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 0.8447 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007634/1.119, allocations: 2.093 MB / 0.8467 GB, free: 39.44 MB / 0.6355 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.001305/1.12, allocations: 486.8 kB / 0.8472 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007163/1.127, allocations: 4.991 MB / 0.852 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.127, allocations: 8.25 kB / 0.852 GB, free: 33.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/1.13, allocations: 2.37 MB / 0.8544 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01495/1.145, allocations: 2.884 MB / 0.8572 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.167, allocations: 12.68 MB / 0.8696 GB, free: 16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003554/1.171, allocations: 3.736 MB / 0.8732 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005741/1.176, allocations: 1.524 MB / 0.8747 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.178, allocations: 432.3 kB / 0.8751 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of SimCode: time 3.196e-06/1.178, allocations: 0 / 0.8751 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.4551/1.634, allocations: 102.3 MB / 0.975 GB, free: 197.7 MB / 0.6824 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.698891434003599]