Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001301/0.001301, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001395/0.001395, allocations: 165.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.189/1.189, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.703e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05359/0.05361, allocations: 45.12 MB / 0.6626 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.0735, allocations: 12.95 MB / 0.6752 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.07571, allocations: 91.25 kB / 0.6753 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.07777, allocations: 0.8185 MB / 0.6761 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.08392, allocations: 2.451 MB / 0.6785 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.08742, allocations: 1.429 MB / 0.6799 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02297/0.1104, allocations: 20.54 MB / 0.6999 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3775/0.4879, allocations: 6.484 MB / 0.7063 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0286/0.5165, allocations: 9.445 MB / 0.7155 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01453/0.531, allocations: 5.759 MB / 0.7211 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004186/0.5352, allocations: 0.8436 MB / 0.7219 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009152/0.5443, allocations: 1.492 MB / 0.7234 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.008071/0.5524, allocations: 2.26 MB / 0.7256 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0168/0.5692, allocations: 3.055 MB / 0.7286 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02387/0.5931, allocations: 12.34 MB / 0.7406 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5931, allocations: 0 / 0.7406 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5931, allocations: 0 / 0.7406 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006918/0.5938, allocations: 0 / 0.7406 GB, free: 14.37 MB / 0.6075 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.02917/0.6229, allocations: 7.781 MB / 0.7482 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.623, allocations: 15 kB / 0.7483 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005867/0.6289, allocations: 0.8839 MB / 0.7491 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01688/0.6457, allocations: 6.381 MB / 0.7554 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006889/0.6464, allocations: 415.9 kB / 0.7557 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004513/0.6509, allocations: 0.5435 MB / 0.7563 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/0.6823, allocations: 9.133 MB / 0.7652 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/0.6827, allocations: 16.41 kB / 0.7652 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/0.6855, allocations: 239.5 kB / 0.7654 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.6857, allocations: 167.1 kB / 0.7656 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.703, allocations: 6.513 MB / 0.772 GB, free: 13.01 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.06026/0.7632, allocations: 22.45 MB / 0.7939 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/0.7731, allocations: 3.432 MB / 0.7972 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006259/0.7793, allocations: 2.586 MB / 0.7998 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008659/0.7802, allocations: 142 kB / 0.7999 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.7803, allocations: 76.39 kB / 0.8 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 6.141e-06/0.7803, allocations: 0 / 0.8 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01531/0.7956, allocations: 5.567 MB / 0.8054 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.7957, allocations: 77.52 kB / 0.8055 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/0.8065, allocations: 4.553 MB / 0.8099 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008974/0.8074, allocations: 77.7 kB / 0.81 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003181/0.8106, allocations: 2.922 MB / 0.8129 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/0.8126, allocations: 0.9707 MB / 0.8138 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.8141, allocations: 0.7117 MB / 0.8145 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8143, allocations: 301.1 kB / 0.8148 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/0.8173, allocations: 1.678 MB / 0.8164 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004695/0.822, allocations: 3.031 MB / 0.8194 GB, free: 15.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009379/0.8314, allocations: 4.965 MB / 0.8242 GB, free: 10.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.421e-05/0.8315, allocations: 12 kB / 0.8242 GB, free: 10.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0127/0.8442, allocations: 5.392 MB / 0.8295 GB, free: 4.816 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.8442, allocations: 24 kB / 0.8295 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.873e-05/0.8443, allocations: 40 kB / 0.8296 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.8456, allocations: 417.5 kB / 0.83 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.8491, allocations: 0.8594 MB / 0.8308 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/0.8559, allocations: 5.359 MB / 0.836 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/0.8614, allocations: 477.1 kB / 0.8365 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000768/0.8622, allocations: 180 kB / 0.8367 GB, free: 13.4 MB / 0.6856 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.005825/0.868, allocations: 2.285 MB / 0.8389 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/0.8699, allocations: 449.2 kB / 0.8393 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00789/0.8778, allocations: 4.12 MB / 0.8434 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.304e-05/0.8779, allocations: 24 kB / 0.8434 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.8779, allocations: 8 kB / 0.8434 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005656/0.8835, allocations: 3.625 MB / 0.8469 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/0.9045, allocations: 8.873 MB / 0.8556 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.9045, allocations: 4 kB / 0.8556 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/0.9068, allocations: 0.5028 MB / 0.8561 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009762/0.9078, allocations: 372.7 kB / 0.8564 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.908, allocations: 83.94 kB / 0.8565 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006478/0.9145, allocations: 5.312 MB / 0.8617 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.9145, allocations: 11.94 kB / 0.8617 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.9267, allocations: 6.182 MB / 0.8678 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/0.9307, allocations: 0.9798 MB / 0.8687 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/0.9322, allocations: 63.98 kB / 0.8688 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003396/0.9356, allocations: 171.8 kB / 0.8689 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/0.936, allocations: 192.1 kB / 0.8691 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/0.9363, allocations: 131.9 kB / 0.8692 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006334/0.9427, allocations: 3.112 MB / 0.8723 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9427, allocations: 0 / 0.8723 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0084/0.9511, allocations: 1.898 MB / 0.8741 GB, free: 6.617 MB / 0.7169 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.001951/0.953, allocations: 480.5 kB / 0.8746 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008534/0.9616, allocations: 4.126 MB / 0.8786 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.9616, allocations: 4 kB / 0.8786 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/0.9654, allocations: 1.933 MB / 0.8805 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01766/0.9831, allocations: 2.606 MB / 0.8831 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/1.016, allocations: 12.22 MB / 0.895 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008466/1.024, allocations: 3.805 MB / 0.8987 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.007162/1.031, allocations: 1.665 MB / 0.9003 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/1.033, allocations: 387.3 kB / 0.9007 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.693e-06/1.033, allocations: 0 / 0.9007 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.1737/1.207, allocations: 93.91 MB / 0.9924 GB, free: 15.21 MB / 0.8419 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.58710527792573] Failed to read output from testmodel.py, exit status != 0: 1.2176872454583645 1.232501814 0.63597427 Calling exit ...