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.0009454/0.0009454, allocations: 93.06 kB / 19.65 MB, free: 280 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.001635/0.001635, allocations: 165 kB / 23.02 MB, free: 1.551 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.9458/0.9458, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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-535:34: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-535:42: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.848/0.848, allocations: 154.8 MB / 414.7 MB, free: 476 kB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5205 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.295e-05, allocations: 3.656 kB / 0.5205 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01365/0.01367, allocations: 16.62 MB / 0.5368 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009974/0.02365, allocations: 6.096 MB / 0.5427 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.0257, allocations: 103.2 kB / 0.5428 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.02696, allocations: 0.5374 MB / 0.5433 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.03077, allocations: 1.802 MB / 0.5451 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.0332, allocations: 1.501 MB / 0.5466 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01396/0.04716, allocations: 21.81 MB / 0.5679 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007874/0.05503, allocations: 7.37 MB / 0.5751 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01832/0.07335, allocations: 9.852 MB / 0.5847 GB, free: 260 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.08406, allocations: 6.474 MB / 0.591 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.003283/0.08735, allocations: 0.9413 MB / 0.5919 GB, free: 8.828 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.09335, allocations: 1.23 MB / 0.5931 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.004641/0.098, allocations: 2.511 MB / 0.5956 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.009573/0.1076, allocations: 3.376 MB / 0.5989 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.1231, allocations: 8.051 MB / 0.6067 GB, free: 9.621 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1231, allocations: 0 / 0.6067 GB, free: 9.621 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1231, allocations: 0 / 0.6067 GB, free: 9.621 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005062/0.1236, allocations: 1 kB / 0.6068 GB, free: 9.621 MB / 0.573 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.01682/0.1404, allocations: 9.033 MB / 0.6156 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.1405, allocations: 15.97 kB / 0.6156 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.144, allocations: 1.51 MB / 0.6171 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.1542, allocations: 6.15 MB / 0.6231 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.1545, allocations: 456.6 kB / 0.6235 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.1559, allocations: 0.6175 MB / 0.6241 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.1678, allocations: 6.545 MB / 0.6305 GB, free: 484 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.168, allocations: 19.83 kB / 0.6305 GB, free: 464 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006846/0.1687, allocations: 264 kB / 0.6308 GB, free: 200 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.1688, allocations: 187.9 kB / 0.6309 GB, free: 12 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/0.1754, allocations: 2.424 MB / 0.6333 GB, free: 13.58 MB / 0.6042 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.03841/0.2138, allocations: 27.2 MB / 0.6599 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.2172, allocations: 1.847 MB / 0.6617 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.2193, allocations: 1.528 MB / 0.6632 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.2198, allocations: 170.3 kB / 0.6633 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.222, allocations: 2.211 MB / 0.6655 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0021/0.2241, allocations: 325.8 kB / 0.6658 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.4e-05/0.2241, allocations: 0 / 0.6658 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.007434/0.2315, allocations: 3.392 MB / 0.6691 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.2316, allocations: 89.89 kB / 0.6692 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007162/0.2388, allocations: 4.199 MB / 0.6733 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008565/0.2396, allocations: 89.7 kB / 0.6734 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/0.2427, allocations: 3.504 MB / 0.6768 GB, free: 80 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.2922/0.5349, allocations: 1.201 MB / 0.678 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/0.5362, allocations: 0.9321 MB / 0.6789 GB, free: 158.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.5363, allocations: 476.8 kB / 0.6793 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.5377, allocations: 0.6766 MB / 0.68 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.5396, allocations: 3.031 MB / 0.683 GB, free: 155 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.5434, allocations: 3.974 MB / 0.6868 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.451e-05/0.5434, allocations: 13.94 kB / 0.6869 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.006363/0.5498, allocations: 3.892 MB / 0.6907 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.5499, allocations: 55.73 kB / 0.6907 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-05/0.5499, allocations: 48.94 kB / 0.6908 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.5512, allocations: 416.6 kB / 0.6912 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.5534, allocations: 0.9952 MB / 0.6921 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.5566, allocations: 5.278 MB / 0.6973 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/0.56, allocations: 285.1 kB / 0.6976 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005638/0.5606, allocations: 216.9 kB / 0.6978 GB, free: 147.9 MB / 0.6355 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.001899/0.5625, allocations: 460.1 kB / 0.6982 GB, free: 147.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.5636, allocations: 0.592 MB / 0.6988 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.5674, allocations: 2.642 MB / 0.7014 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.5674, allocations: 32.09 kB / 0.7014 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5674, allocations: 5.906 kB / 0.7014 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002585/0.57, allocations: 2.063 MB / 0.7034 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.5852, allocations: 8 MB / 0.7112 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.5853, allocations: 1.594 kB / 0.7112 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.5872, allocations: 0.6339 MB / 0.7118 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.5885, allocations: 356.6 kB / 0.7122 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/0.5887, allocations: 81.23 kB / 0.7123 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.5919, allocations: 5.19 MB / 0.7173 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5919, allocations: 5 kB / 0.7173 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/0.5981, allocations: 3.498 MB / 0.7208 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/0.6005, allocations: 0.9615 MB / 0.7217 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006144/0.6011, allocations: 76.09 kB / 0.7218 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6025, allocations: 190.1 kB / 0.7219 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/0.6029, allocations: 209.2 kB / 0.7221 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.6032, allocations: 140.2 kB / 0.7223 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002908/0.6061, allocations: 2.164 MB / 0.7244 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6061, allocations: 0.7656 kB / 0.7244 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004795/0.6109, allocations: 2.026 MB / 0.7264 GB, free: 138.8 MB / 0.6355 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.000719/0.6116, allocations: 305.1 kB / 0.7267 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004678/0.6163, allocations: 3.039 MB / 0.7296 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/0.6163, allocations: 0 / 0.7296 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.618, allocations: 1.568 MB / 0.7312 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008658/0.6267, allocations: 2.832 MB / 0.7339 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.6411, allocations: 10.8 MB / 0.7445 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.6431, allocations: 1.775 MB / 0.7462 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004684/0.6478, allocations: 1.53 MB / 0.7477 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6489, allocations: 431.7 kB / 0.7481 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of SimCode: time 3.296e-06/0.6489, allocations: 0 / 0.7481 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.09746/0.7464, allocations: 99.77 MB / 0.8455 GB, free: 35.28 MB / 0.6355 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.403126374818385]