Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008719/0.0008719, allocations: 115 kB / 19.7 MB, free: 0.5312 MB / 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.0008821/0.0008821, allocations: 203.2 kB / 23 MB, free: 3.129 MB / 13.93 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.918/0.918, allocations: 230.6 MB / 256.8 MB, free: 3.578 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8053/0.8053, allocations: 203.8 MB / 0.5049 GB, free: 0.7539 MB / 410.7 MB " [Timeout remaining time 179] 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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.89 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5313, allocations: 102 MB / 0.8191 GB, free: 25.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04776/0.5791, allocations: 57.27 MB / 0.875 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.6046, allocations: 18.22 MB / 0.8928 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.6084, allocations: 101.5 kB / 0.8929 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.6119, allocations: 0.9241 MB / 0.8938 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/0.6203, allocations: 2.675 MB / 0.8964 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.6246, allocations: 1.624 MB / 0.898 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01969/0.6443, allocations: 21.84 MB / 0.9193 GB, free: 12.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.6545, allocations: 7.1 MB / 0.9263 GB, free: 5.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/0.6708, allocations: 7.548 MB / 0.9336 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.6821, allocations: 6.572 MB / 0.9401 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003355/0.6854, allocations: 0.9375 MB / 0.941 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007203/0.6926, allocations: 1.784 MB / 0.9427 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.004895/0.6975, allocations: 2.434 MB / 0.9451 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.7081, allocations: 4.727 MB / 0.9497 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.7254, allocations: 13.33 MB / 0.9627 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7254, allocations: 0 / 0.9627 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7254, allocations: 0 / 0.9627 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005615/0.726, allocations: 0 / 0.9627 GB, free: 15.68 MB / 0.7448 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.02108/0.7471, allocations: 8.646 MB / 0.9712 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7471, allocations: 8.031 kB / 0.9712 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.7519, allocations: 0.9605 MB / 0.9721 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.7649, allocations: 6.774 MB / 0.9787 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.7652, allocations: 464.3 kB / 0.9792 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/0.7674, allocations: 0.6015 MB / 0.9798 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.7876, allocations: 9.04 MB / 0.9886 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/0.7878, allocations: 27.75 kB / 0.9886 GB, free: 4.68 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.7893, allocations: 256 kB / 0.9889 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.7895, allocations: 180 kB / 0.989 GB, free: 4.254 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.8055, allocations: 7.465 MB / 0.9963 GB, free: 12.78 MB / 0.7761 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.04684/0.8524, allocations: 36.01 MB / 1.031 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/0.8576, allocations: 4.006 MB / 1.035 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/0.8611, allocations: 3.033 MB / 1.038 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.8616, allocations: 210.2 kB / 1.039 GB, free: 15.44 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/0.8648, allocations: 2.394 MB / 1.041 GB, free: 13.01 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002294/0.8671, allocations: 397 kB / 1.041 GB, free: 12.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=317): time 1.35e-05/0.8671, allocations: 4 kB / 1.041 GB, free: 12.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=317): time 0.009567/0.8766, allocations: 6.989 MB / 1.048 GB, free: 5.578 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.8767, allocations: 85.91 kB / 1.048 GB, free: 5.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007547/0.8842, allocations: 5.686 MB / 1.054 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0008196/0.8851, allocations: 85.7 kB / 1.054 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/0.8878, allocations: 3.267 MB / 1.057 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001701/0.8895, allocations: 1.178 MB / 1.058 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.8906, allocations: 0.8624 MB / 1.059 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.8907, allocations: 305.1 kB / 1.059 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.8932, allocations: 2.167 MB / 1.061 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.8964, allocations: 3.693 MB / 1.065 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006608/0.9031, allocations: 6.327 MB / 1.071 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/0.9031, allocations: 16 kB / 1.071 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01011/0.9132, allocations: 6.783 MB / 1.078 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.9133, allocations: 53.7 kB / 1.078 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.781e-05/0.9133, allocations: 48 kB / 1.078 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007245/0.914, allocations: 444.5 kB / 1.078 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.9163, allocations: 0.9983 MB / 1.079 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/0.9206, allocations: 5.506 MB / 1.085 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.9245, allocations: 283.5 kB / 1.085 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007658/0.9253, allocations: 224 kB / 1.085 GB, free: 13.85 MB / 0.8698 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.004131/0.9294, allocations: 2.475 MB / 1.088 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.931, allocations: 0.5513 MB / 1.088 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006716/0.9377, allocations: 5.264 MB / 1.093 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.9377, allocations: 28 kB / 1.093 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.9377, allocations: 4 kB / 1.093 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00509/0.9428, allocations: 4.52 MB / 1.098 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/0.9678, allocations: 12.03 MB / 1.109 GB, free: 4.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.9678, allocations: 8.125 kB / 1.109 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.9699, allocations: 0.6397 MB / 1.11 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007837/0.9706, allocations: 365.4 kB / 1.11 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003253/0.971, allocations: 87.95 kB / 1.111 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8316/1.803, allocations: 5.393 MB / 1.116 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.803, allocations: 8.938 kB / 1.116 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.815, allocations: 7.78 MB / 1.123 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00332/1.818, allocations: 1.148 MB / 1.125 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.82, allocations: 69.64 kB / 1.125 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.822, allocations: 198.6 kB / 1.125 GB, free: 245.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/1.823, allocations: 207.7 kB / 1.125 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.823, allocations: 142.1 kB / 1.125 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006242/1.829, allocations: 3.969 MB / 1.129 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/1.829, allocations: 0 / 1.129 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006895/1.836, allocations: 2.032 MB / 1.131 GB, free: 243.6 MB / 0.8855 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.001843/1.838, allocations: 481.1 kB / 1.131 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007548/1.846, allocations: 5.243 MB / 1.137 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.846, allocations: 2.469 kB / 1.137 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/1.849, allocations: 2.374 MB / 1.139 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01339/1.862, allocations: 3.394 MB / 1.142 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.884, allocations: 14.22 MB / 1.156 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004875/1.889, allocations: 4.558 MB / 1.161 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.891, allocations: 499.4 kB / 1.161 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/1.891, allocations: 0 / 1.161 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1467/2.038, allocations: 188.5 MB / 1.345 GB, free: 54.87 MB / 0.8855 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 24.30695854802616] Failed to read output from testmodel.py, exit status != 0: 2.0508246198296547 2.054346303 1.3270724090000001 Calling exit ...