Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001537/0.001537, allocations: 92.7 kB / 19.44 MB, free: 320 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.001656/0.001656, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.249/1.249, allocations: 154.6 MB / 414.1 MB, free: 0.6133 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.348e-05, allocations: 5.594 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05946/0.05949, allocations: 45.11 MB / 0.5637 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.08307, allocations: 13.07 MB / 0.5764 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.08631, allocations: 91.25 kB / 0.5765 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.08948, allocations: 0.8107 MB / 0.5773 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.09797, allocations: 2.463 MB / 0.5797 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.1025, allocations: 1.427 MB / 0.5811 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.02955/0.132, allocations: 20.63 MB / 0.6012 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/0.1446, allocations: 6.715 MB / 0.6078 GB, free: 8.074 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02867/0.1733, allocations: 9.578 MB / 0.6172 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02103/0.1943, allocations: 5.743 MB / 0.6228 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.005117/0.1994, allocations: 0.8477 MB / 0.6236 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.2109, allocations: 1.502 MB / 0.6251 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.007506/0.2184, allocations: 2.254 MB / 0.6273 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.01456/0.233, allocations: 3.048 MB / 0.6302 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0286/0.2616, allocations: 12.35 MB / 0.6423 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2616, allocations: 0 / 0.6423 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2616, allocations: 0 / 0.6423 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004954/0.2621, allocations: 0 / 0.6423 GB, free: 4.781 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.03618/0.2982, allocations: 7.787 MB / 0.6499 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.2983, allocations: 12.03 kB / 0.6499 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.3097, allocations: 1.393 MB / 0.6513 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02565/0.3353, allocations: 6.754 MB / 0.6579 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008584/0.3362, allocations: 415.4 kB / 0.6583 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003552/0.3397, allocations: 0.5589 MB / 0.6588 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.3681, allocations: 9.127 MB / 0.6677 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003327/0.3685, allocations: 23.83 kB / 0.6677 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/0.3706, allocations: 236 kB / 0.668 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002642/0.3708, allocations: 167.9 kB / 0.6681 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.3901, allocations: 6.508 MB / 0.6745 GB, free: 3.152 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.4435/0.8336, allocations: 22.72 MB / 0.6967 GB, free: 173.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.8389, allocations: 3.432 MB / 0.7 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.8427, allocations: 2.594 MB / 0.7026 GB, free: 171.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.8434, allocations: 158.6 kB / 0.7027 GB, free: 171.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.767e-05/0.8435, allocations: 70.58 kB / 0.7028 GB, free: 171 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=267): time 5.79e-06/0.8435, allocations: 0.5625 kB / 0.7028 GB, free: 171 MB / 0.6355 GB Notification: Performance of matching and sorting (n=267): time 0.01138/0.8549, allocations: 5.664 MB / 0.7083 GB, free: 169 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.8549, allocations: 79.8 kB / 0.7084 GB, free: 169 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009349/0.8643, allocations: 4.545 MB / 0.7128 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006293/0.8649, allocations: 80.14 kB / 0.7129 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002484/0.8674, allocations: 2.925 MB / 0.7158 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.8688, allocations: 0.967 MB / 0.7167 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.8707, allocations: 0.7122 MB / 0.7174 GB, free: 164.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.8707, allocations: 308.3 kB / 0.7177 GB, free: 164.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/0.8739, allocations: 1.67 MB / 0.7193 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.8778, allocations: 3.03 MB / 0.7223 GB, free: 161.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/0.8842, allocations: 4.97 MB / 0.7271 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.297e-05/0.8843, allocations: 15.77 kB / 0.7271 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01093/0.8952, allocations: 5.552 MB / 0.7326 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.8953, allocations: 25.75 kB / 0.7326 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.8954, allocations: 39.56 kB / 0.7326 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.898, allocations: 0.5216 MB / 0.7331 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.901, allocations: 0.8572 MB / 0.734 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/0.9064, allocations: 5.394 MB / 0.7392 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.9106, allocations: 468.1 kB / 0.7397 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004679/0.9111, allocations: 183.7 kB / 0.7399 GB, free: 152 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.003803/0.9149, allocations: 2.278 MB / 0.7421 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/0.9166, allocations: 0.5322 MB / 0.7426 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.9227, allocations: 4.112 MB / 0.7466 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.9227, allocations: 31.98 kB / 0.7467 GB, free: 146 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.9227, allocations: 4.766 kB / 0.7467 GB, free: 146 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004079/0.9268, allocations: 3.626 MB / 0.7502 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.9408, allocations: 8.885 MB / 0.7589 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.9409, allocations: 4.766 kB / 0.7589 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/0.9428, allocations: 0.4993 MB / 0.7594 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.9449, allocations: 487.1 kB / 0.7598 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001961/0.9451, allocations: 71.97 kB / 0.7599 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/0.9493, allocations: 5.342 MB / 0.7651 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9493, allocations: 10.75 kB / 0.7651 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.957, allocations: 6.256 MB / 0.7712 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/0.9595, allocations: 0.9991 MB / 0.7722 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/0.9601, allocations: 67.42 kB / 0.7723 GB, free: 119.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/0.9624, allocations: 175.6 kB / 0.7724 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.9627, allocations: 181.5 kB / 0.7726 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/0.963, allocations: 127.9 kB / 0.7727 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003726/0.9667, allocations: 3.12 MB / 0.7758 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.9667, allocations: 3.938 kB / 0.7758 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004871/0.9716, allocations: 1.895 MB / 0.7776 GB, free: 114 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0009449/0.9725, allocations: 472 kB / 0.7781 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005377/0.9779, allocations: 4.136 MB / 0.7821 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.9779, allocations: 4.875 kB / 0.7821 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.98, allocations: 1.931 MB / 0.784 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00952/0.9895, allocations: 2.714 MB / 0.7867 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.007, allocations: 12.34 MB / 0.7987 GB, free: 92.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002953/1.01, allocations: 3.813 MB / 0.8025 GB, free: 88.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004579/1.014, allocations: 1.66 MB / 0.8041 GB, free: 86.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.016, allocations: 376.3 kB / 0.8044 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/1.016, allocations: 0 / 0.8044 GB, free: 86.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.122/1.138, allocations: 94.16 MB / 0.8964 GB, free: 9.793 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.794948657043278]