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.0009386/0.0009386, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001727/0.001727, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9739/0.9739, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7606/0.7606, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 179] 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 2.084e-06/2.084e-06, allocations: 0 / 0.5207 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/3.899e-05, allocations: 8.172 kB / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02221/0.02225, allocations: 15.22 MB / 0.5356 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009337/0.03158, allocations: 5.609 MB / 0.5411 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.03338, allocations: 91.25 kB / 0.5412 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.03438, allocations: 0.4931 MB / 0.5417 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.03755, allocations: 1.629 MB / 0.5433 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.03965, allocations: 1.266 MB / 0.5445 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01323/0.05288, allocations: 20.23 MB / 0.5642 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007217/0.0601, allocations: 6.715 MB / 0.5708 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.07265, allocations: 9.27 MB / 0.5799 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007324/0.07997, allocations: 5.949 MB / 0.5857 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.08124, allocations: 0.8288 MB / 0.5865 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.08344, allocations: 1.097 MB / 0.5875 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.08481, allocations: 2.251 MB / 0.5897 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00376/0.08857, allocations: 3.034 MB / 0.5927 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.09495, allocations: 7.256 MB / 0.5998 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.09496, allocations: 3.938 kB / 0.5998 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.09496, allocations: 0.7188 kB / 0.5998 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001077/0.09507, allocations: 0 / 0.5998 GB, free: 0.9023 MB / 0.5573 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.007624/0.1027, allocations: 7.839 MB / 0.6074 GB, free: 9.012 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1027, allocations: 12.03 kB / 0.6075 GB, free: 9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.1048, allocations: 1.392 MB / 0.6088 GB, free: 7.605 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.1095, allocations: 4.754 MB / 0.6135 GB, free: 2.777 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.1097, allocations: 419.4 kB / 0.6139 GB, free: 2.367 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/0.1102, allocations: 0.5589 MB / 0.6144 GB, free: 1.809 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/0.1152, allocations: 5.551 MB / 0.6198 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.1153, allocations: 19.83 kB / 0.6198 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000322/0.1156, allocations: 236 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1157, allocations: 168 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.118, allocations: 1.677 MB / 0.6219 GB, free: 9.57 MB / 0.5886 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.01851/0.1365, allocations: 22.92 MB / 0.6443 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.1383, allocations: 1.514 MB / 0.6457 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.1395, allocations: 1.199 MB / 0.6469 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.1398, allocations: 162.9 kB / 0.6471 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.1399, allocations: 71.5 kB / 0.6471 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=267): time 4.408e-06/0.1399, allocations: 0 / 0.6471 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=267): time 0.003856/0.1437, allocations: 2.458 MB / 0.6495 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1438, allocations: 85.52 kB / 0.6496 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.147, allocations: 3.708 MB / 0.6532 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.1471, allocations: 77.7 kB / 0.6533 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.1491, allocations: 3.212 MB / 0.6564 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.1499, allocations: 1.038 MB / 0.6575 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007734/0.1506, allocations: 0.7896 MB / 0.6582 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1508, allocations: 488.7 kB / 0.6587 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.1513, allocations: 391.1 kB / 0.6591 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.1529, allocations: 2.342 MB / 0.6614 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.1553, allocations: 2.98 MB / 0.6643 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.1553, allocations: 12 kB / 0.6643 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00357/0.1589, allocations: 2.869 MB / 0.6671 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.1589, allocations: 20 kB / 0.6671 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.1589, allocations: 40 kB / 0.6671 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.16, allocations: 390.3 kB / 0.6675 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1614, allocations: 0.8268 MB / 0.6683 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.1647, allocations: 5.173 MB / 0.6734 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.1667, allocations: 377.2 kB / 0.6737 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.1668, allocations: 152 kB / 0.6739 GB, free: 1.82 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.001576/0.1684, allocations: 411.2 kB / 0.6743 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006453/0.1691, allocations: 0.5206 MB / 0.6748 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2841/0.4531, allocations: 1.916 MB / 0.6766 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.4532, allocations: 34.5 kB / 0.6767 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4532, allocations: 8.812 kB / 0.6767 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.4548, allocations: 1.499 MB / 0.6781 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.463, allocations: 5.558 MB / 0.6836 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.463, allocations: 5.875 kB / 0.6836 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.464, allocations: 471.5 kB / 0.684 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/0.4649, allocations: 337.1 kB / 0.6843 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.465, allocations: 78.94 kB / 0.6844 GB, free: 158.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.4673, allocations: 5.086 MB / 0.6894 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4673, allocations: 12.05 kB / 0.6894 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.4704, allocations: 2.701 MB / 0.692 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.4717, allocations: 0.8118 MB / 0.6928 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/0.4722, allocations: 63.66 kB / 0.6929 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.4733, allocations: 102.7 kB / 0.693 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.4735, allocations: 186.1 kB / 0.6932 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.4737, allocations: 109.8 kB / 0.6933 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001789/0.4755, allocations: 1.806 MB / 0.695 GB, free: 154 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4755, allocations: 0 / 0.695 GB, free: 154 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003602/0.4791, allocations: 1.818 MB / 0.6968 GB, free: 153.8 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.0005308/0.4796, allocations: 281.8 kB / 0.6971 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002402/0.482, allocations: 2.246 MB / 0.6993 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.482, allocations: 7.422 kB / 0.6993 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.483, allocations: 1.244 MB / 0.7005 GB, free: 152.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005665/0.4887, allocations: 2.669 MB / 0.7031 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.5013, allocations: 9.783 MB / 0.7127 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.5028, allocations: 1.626 MB / 0.7142 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002382/0.5051, allocations: 0.7895 MB / 0.715 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003513/0.5087, allocations: 1.858 MB / 0.7168 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.5087, allocations: 3.469 kB / 0.7168 GB, free: 148.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.0959/0.6046, allocations: 98.52 MB / 0.813 GB, free: 67.67 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.967183335218579]