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.001893/0.001893, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002703/0.002703, allocations: 211.8 kB / 22.25 MB, free: 4.863 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.279/1.279, allocations: 203.8 MB / 0.5041 GB, free: 4.609 MB / 414.1 MB " [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.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.00247/0.00247, allocations: 71.89 kB / 0.7186 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6751, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05763/0.7327, allocations: 51.66 MB / 0.8687 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03153/0.7643, allocations: 16.85 MB / 0.8852 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004415/0.7687, allocations: 100.7 kB / 0.8853 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003872/0.7726, allocations: 0.8981 MB / 0.8861 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009508/0.7821, allocations: 2.662 MB / 0.8887 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005267/0.7873, allocations: 1.591 MB / 0.8903 GB, free: 8.812 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02852/0.8158, allocations: 22.05 MB / 0.9118 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.8278, allocations: 7.105 MB / 0.9188 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01835/0.8462, allocations: 7.588 MB / 0.9262 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01528/0.8614, allocations: 6.892 MB / 0.9329 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003659/0.8651, allocations: 0.9375 MB / 0.9338 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00767/0.8728, allocations: 1.577 MB / 0.9354 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005054/0.8778, allocations: 2.434 MB / 0.9377 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01448/0.8923, allocations: 3.876 MB / 0.9415 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02234/0.9146, allocations: 13.36 MB / 0.9546 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9146, allocations: 0 / 0.9546 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9146, allocations: 0 / 0.9546 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005433/0.9152, allocations: 3.938 kB / 0.9546 GB, free: 10.45 MB / 0.7325 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.02844/0.9436, allocations: 8.638 MB / 0.963 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.9437, allocations: 13.47 kB / 0.963 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/0.9498, allocations: 0.9566 MB / 0.964 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/0.9675, allocations: 6.79 MB / 0.9706 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.9681, allocations: 460.4 kB / 0.971 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.9706, allocations: 0.5898 MB / 0.9716 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/0.9981, allocations: 10.11 MB / 0.9815 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003449/0.9984, allocations: 23.81 kB / 0.9815 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/1.001, allocations: 264 kB / 0.9817 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002659/1.001, allocations: 179.9 kB / 0.9819 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/1.021, allocations: 7.449 MB / 0.9892 GB, free: 6.246 MB / 0.7637 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.05767/1.079, allocations: 26.36 MB / 1.015 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007743/1.087, allocations: 3.972 MB / 1.019 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00576/1.092, allocations: 3.043 MB / 1.022 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.093, allocations: 198.3 kB / 1.022 GB, free: 4.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005609/1.099, allocations: 3.456 MB / 1.025 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002565/1.102, allocations: 321.8 kB / 1.026 GB, free: 164 kB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 1.847e-05/1.102, allocations: 0 / 1.026 GB, free: 164 kB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01619/1.118, allocations: 6.942 MB / 1.032 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/1.118, allocations: 85.91 kB / 1.033 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.129, allocations: 4.985 MB / 1.037 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0008281/1.13, allocations: 89.7 kB / 1.037 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.004038/1.134, allocations: 3.279 MB / 1.041 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001985/1.136, allocations: 1.162 MB / 1.042 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002625/1.138, allocations: 0.8624 MB / 1.043 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.138, allocations: 301.1 kB / 1.043 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/1.143, allocations: 2.192 MB / 1.045 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005976/1.149, allocations: 3.83 MB / 1.049 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.159, allocations: 6.323 MB / 1.055 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.267e-05/1.159, allocations: 12 kB / 1.055 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0151/1.175, allocations: 6.765 MB / 1.062 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/1.175, allocations: 51.89 kB / 1.062 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/1.175, allocations: 52 kB / 1.062 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/1.176, allocations: 440 kB / 1.062 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/1.18, allocations: 1.006 MB / 1.063 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/1.187, allocations: 5.362 MB / 1.068 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/1.193, allocations: 295.6 kB / 1.069 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009868/1.194, allocations: 216 kB / 1.069 GB, free: 2.094 MB / 0.8419 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.005956/1.2, allocations: 2.48 MB / 1.071 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002206/1.202, allocations: 0.4891 MB / 1.072 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.214, allocations: 5.212 MB / 1.077 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/1.214, allocations: 32 kB / 1.077 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.214, allocations: 4 kB / 1.077 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00821/1.222, allocations: 4.52 MB / 1.081 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02974/1.252, allocations: 10.44 MB / 1.091 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.252, allocations: 0 / 1.091 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/1.256, allocations: 0.6438 MB / 1.092 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.257, allocations: 369.3 kB / 1.092 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000526/1.257, allocations: 83.95 kB / 1.093 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/1.264, allocations: 5.296 MB / 1.098 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.264, allocations: 4 kB / 1.098 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.281, allocations: 7.679 MB / 1.105 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004526/1.285, allocations: 1.085 MB / 1.106 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/1.287, allocations: 63.98 kB / 1.106 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00443/1.292, allocations: 199.8 kB / 1.107 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/1.292, allocations: 206.1 kB / 1.107 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000557/1.293, allocations: 143.8 kB / 1.107 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.008019/1.301, allocations: 3.388 MB / 1.11 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.6e-07/1.301, allocations: 0 / 1.11 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.009177/1.31, allocations: 2.085 MB / 1.112 GB, free: 5.113 MB / 0.8887 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.001992/1.312, allocations: 490.8 kB / 1.113 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.4422/1.754, allocations: 5.243 MB / 1.118 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.754, allocations: 6.188 kB / 1.118 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/1.759, allocations: 2.368 MB / 1.12 GB, free: 253.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/1.777, allocations: 2.767 MB / 1.123 GB, free: 253.1 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/1.804, allocations: 13.98 MB / 1.136 GB, free: 247.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006528/1.811, allocations: 4.145 MB / 1.14 GB, free: 246.1 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.007385/1.818, allocations: 1.875 MB / 1.142 GB, free: 245.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.82, allocations: 433.3 kB / 1.143 GB, free: 245.8 MB / 0.8887 GB Notification: Performance of SimCode: time 1.713e-06/1.82, allocations: 1.375 kB / 1.143 GB, free: 245.8 MB / 0.8887 GB Notification: Performance of Templates: time 0.1504/1.97, allocations: 113 MB / 1.253 GB, free: 157.5 MB / 0.8887 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: 11.196274166926742] Failed to read output from testmodel.py, exit status != 0: 1.9804654065519571 1.990126547 1.072860804 Calling exit ...