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.001731/0.001731, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001538/0.001538, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8647/0.8647, allocations: 134 MB / 447.2 MB, free: 9.945 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.002028/0.002028, allocations: 75.5 kB / 0.6197 GB, free: 6.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1868, allocations: 85.91 MB / 0.7036 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4616/0.6484, allocations: 51.53 MB / 0.7539 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.6718, allocations: 16.82 MB / 0.7703 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/0.6764, allocations: 101.7 kB / 0.7704 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.6807, allocations: 0.9011 MB / 0.7713 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.6911, allocations: 2.661 MB / 0.7739 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006572/0.6977, allocations: 1.563 MB / 0.7754 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02479/0.7225, allocations: 22.02 MB / 0.797 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.7352, allocations: 7.13 MB / 0.8039 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/0.7534, allocations: 7.415 MB / 0.8112 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01536/0.7688, allocations: 6.986 MB / 0.818 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003949/0.7727, allocations: 0.9414 MB / 0.8189 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009231/0.7819, allocations: 1.578 MB / 0.8204 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005452/0.7874, allocations: 2.43 MB / 0.8228 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01176/0.7991, allocations: 3.861 MB / 0.8266 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02174/0.8209, allocations: 13.33 MB / 0.8396 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.8209, allocations: 0 / 0.8396 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8209, allocations: 0 / 0.8396 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005478/0.8214, allocations: 0 / 0.8396 GB, free: 7.461 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02772/0.8492, allocations: 8.65 MB / 0.848 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.8492, allocations: 12.03 kB / 0.8481 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.8551, allocations: 0.9566 MB / 0.849 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/0.8738, allocations: 6.77 MB / 0.8556 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006422/0.8744, allocations: 462.3 kB / 0.856 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.8772, allocations: 0.5961 MB / 0.8566 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.9036, allocations: 10.11 MB / 0.8665 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/0.904, allocations: 19.83 kB / 0.8665 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/0.9064, allocations: 262.2 kB / 0.8668 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/0.9067, allocations: 183.9 kB / 0.8669 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.9257, allocations: 7.449 MB / 0.8742 GB, free: 3.496 MB / 0.6387 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.05999/0.9857, allocations: 26.33 MB / 0.8999 GB, free: 9.016 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008031/0.9937, allocations: 3.971 MB / 0.9038 GB, free: 5.051 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006091/0.9998, allocations: 3.042 MB / 0.9068 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.001, allocations: 198.3 kB / 0.907 GB, free: 1.809 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006708/1.008, allocations: 3.458 MB / 0.9103 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003404/1.011, allocations: 324.6 kB / 0.9107 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.937e-05/1.011, allocations: 0 / 0.9107 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.016/1.027, allocations: 6.93 MB / 0.9174 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/1.027, allocations: 92.88 kB / 0.9175 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.038, allocations: 4.981 MB / 0.9224 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008966/1.039, allocations: 89.7 kB / 0.9225 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.004165/1.044, allocations: 3.272 MB / 0.9257 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002073/1.046, allocations: 1.175 MB / 0.9268 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002728/1.048, allocations: 0.8585 MB / 0.9276 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.048, allocations: 312.9 kB / 0.9279 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00431/1.053, allocations: 2.192 MB / 0.9301 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.059, allocations: 3.826 MB / 0.9338 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.069, allocations: 6.319 MB / 0.94 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-05/1.069, allocations: 19.94 kB / 0.94 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01526/1.084, allocations: 6.754 MB / 0.9466 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.085, allocations: 53.7 kB / 0.9467 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/1.085, allocations: 48 kB / 0.9467 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.086, allocations: 440 kB / 0.9471 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.09, allocations: 1.006 MB / 0.9481 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006842/1.097, allocations: 5.377 MB / 0.9533 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/1.102, allocations: 283.7 kB / 0.9536 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.103, allocations: 215.9 kB / 0.9538 GB, free: 15.73 MB / 0.7325 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.006046/1.109, allocations: 2.482 MB / 0.9562 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/1.111, allocations: 0.493 MB / 0.9567 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.123, allocations: 5.204 MB / 0.9618 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/1.123, allocations: 32 kB / 0.9618 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.123, allocations: 4 kB / 0.9618 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007913/1.131, allocations: 4.526 MB / 0.9663 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.158, allocations: 10.44 MB / 0.9765 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.158, allocations: 7.938 kB / 0.9765 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/1.161, allocations: 0.6438 MB / 0.9771 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009776/1.162, allocations: 377.3 kB / 0.9775 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005153/1.162, allocations: 83.95 kB / 0.9775 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/1.169, allocations: 5.267 MB / 0.9827 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.169, allocations: 0 / 0.9827 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.183, allocations: 7.683 MB / 0.9902 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004085/1.187, allocations: 1.077 MB / 0.9912 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.189, allocations: 67.98 kB / 0.9913 GB, free: 8.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003718/1.193, allocations: 196 kB / 0.9915 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006358/1.193, allocations: 214 kB / 0.9917 GB, free: 8.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005612/1.194, allocations: 143.9 kB / 0.9918 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007384/1.201, allocations: 3.384 MB / 0.9951 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/1.201, allocations: 0 / 0.9951 GB, free: 4.945 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008216/1.21, allocations: 2.085 MB / 0.9972 GB, free: 2.855 MB / 0.7637 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.001684/1.211, allocations: 475.5 kB / 0.9976 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.222, allocations: 5.258 MB / 1.003 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.222, allocations: 4 kB / 1.003 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004834/1.227, allocations: 2.362 MB / 1.005 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01528/1.242, allocations: 2.769 MB / 1.008 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03014/1.272, allocations: 14.03 MB / 1.021 GB, free: 9.926 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005448/1.278, allocations: 4.067 MB / 1.025 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/1.28, allocations: 459.3 kB / 1.026 GB, free: 5.371 MB / 0.795 GB Notification: Performance of SimCode: time 1.172e-06/1.28, allocations: 0 / 1.026 GB, free: 5.371 MB / 0.795 GB Notification: Performance of Templates: time 0.9352/2.215, allocations: 182.6 MB / 1.204 GB, free: 169.6 MB / 0.8263 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 24.022972489707172] Failed to read output from testmodel.py, exit status != 0: 2.224816630128771 2.235957315 1.412135312 Calling exit ...