Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001787/0.001787, allocations: 101.7 kB / 16.45 MB, free: 6.504 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.002017/0.002017, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.8202/0.8202, allocations: 134 MB / 442.8 MB, free: 11.33 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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [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.001874/0.001874, allocations: 71.27 kB / 0.6134 GB, free: 8.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1839, allocations: 85.85 MB / 0.6972 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05495/0.2388, allocations: 49.86 MB / 0.7459 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.386/0.6249, allocations: 13.87 MB / 0.7595 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.6284, allocations: 93.44 kB / 0.7596 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.631, allocations: 0.8371 MB / 0.7604 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007804/0.6388, allocations: 2.351 MB / 0.7627 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.643, allocations: 1.328 MB / 0.764 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02359/0.6666, allocations: 19.56 MB / 0.7831 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01404/0.6807, allocations: 8.232 MB / 0.7911 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.6981, allocations: 6.699 MB / 0.7977 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.7108, allocations: 6.045 MB / 0.8036 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003836/0.7146, allocations: 0.8438 MB / 0.8044 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008807/0.7234, allocations: 1.656 MB / 0.806 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.7279, allocations: 2.206 MB / 0.8082 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01189/0.7398, allocations: 4.287 MB / 0.8124 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.7594, allocations: 12.17 MB / 0.8242 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7594, allocations: 7.938 kB / 0.8242 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7594, allocations: 0 / 0.8242 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004452/0.7598, allocations: 0 / 0.8242 GB, free: 14.33 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.02118/0.781, allocations: 7.922 MB / 0.832 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.781, allocations: 21.05 kB / 0.832 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002697/0.7837, allocations: 0.7616 MB / 0.8327 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.7888, allocations: 0.8828 MB / 0.8336 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.8054, allocations: 6.345 MB / 0.8398 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004325/0.8058, allocations: 417.8 kB / 0.8402 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/0.808, allocations: 0.5382 MB / 0.8407 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.8281, allocations: 8.068 MB / 0.8486 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.8283, allocations: 19.83 kB / 0.8486 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/0.8293, allocations: 242.2 kB / 0.8489 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.8295, allocations: 160 kB / 0.849 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.8452, allocations: 6.524 MB / 0.8554 GB, free: 14.25 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.05411/0.8993, allocations: 31.26 MB / 0.8859 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/0.9058, allocations: 3.439 MB / 0.8893 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.91, allocations: 2.584 MB / 0.8918 GB, free: 7.406 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.9111, allocations: 0.8199 MB / 0.8926 GB, free: 6.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.746e-05/0.9112, allocations: 72.45 kB / 0.8927 GB, free: 6.348 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 4.409e-06/0.9112, allocations: 4 kB / 0.8927 GB, free: 6.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.01217/0.9233, allocations: 5.773 MB / 0.8983 GB, free: 488 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.9234, allocations: 77.52 kB / 0.8984 GB, free: 396 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/0.9346, allocations: 5.236 MB / 0.9035 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009472/0.9355, allocations: 77.7 kB / 0.9036 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.9389, allocations: 2.938 MB / 0.9064 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.9406, allocations: 0.9779 MB / 0.9074 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.9419, allocations: 0.7195 MB / 0.9081 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9421, allocations: 309.1 kB / 0.9084 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/0.9449, allocations: 1.678 MB / 0.91 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/0.9489, allocations: 2.932 MB / 0.9129 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007752/0.9567, allocations: 4.974 MB / 0.9177 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-05/0.9567, allocations: 8 kB / 0.9178 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01146/0.9682, allocations: 5.444 MB / 0.9231 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.9682, allocations: 30.59 kB / 0.9231 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.578e-05/0.9683, allocations: 43.92 kB / 0.9231 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.9694, allocations: 429 kB / 0.9235 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.973, allocations: 0.858 MB / 0.9244 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007041/0.98, allocations: 5.696 MB / 0.9299 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005125/0.9851, allocations: 0.5275 MB / 0.9305 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008791/0.986, allocations: 184 kB / 0.9306 GB, free: 13.87 MB / 0.7169 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.00511/0.9911, allocations: 2.283 MB / 0.9329 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/0.993, allocations: 0.5046 MB / 0.9334 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/1.001, allocations: 4.167 MB / 0.9374 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/1.001, allocations: 28 kB / 0.9375 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.001, allocations: 4 kB / 0.9375 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005568/1.007, allocations: 3.626 MB / 0.941 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/1.028, allocations: 10.25 MB / 0.951 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.028, allocations: 8 kB / 0.951 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/1.03, allocations: 0.5037 MB / 0.9515 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009464/1.031, allocations: 376.3 kB / 0.9519 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/1.031, allocations: 75.95 kB / 0.9519 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/1.037, allocations: 5.652 MB / 0.9575 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.037, allocations: 8 kB / 0.9575 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.049, allocations: 6.259 MB / 0.9636 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003596/1.052, allocations: 1.126 MB / 0.9647 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.054, allocations: 59.98 kB / 0.9647 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/1.057, allocations: 183.6 kB / 0.9649 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.057, allocations: 169.6 kB / 0.9651 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.058, allocations: 135.8 kB / 0.9652 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.007439/1.065, allocations: 3.839 MB / 0.969 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.065, allocations: 4 kB / 0.969 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006385/1.072, allocations: 1.809 MB / 0.9707 GB, free: 4.09 MB / 0.7481 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.01155/1.083, allocations: 7.168 MB / 0.9777 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007409/1.091, allocations: 4.127 MB / 0.9818 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.091, allocations: 8.062 kB / 0.9818 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003438/1.094, allocations: 1.934 MB / 0.9836 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01901/1.113, allocations: 3.453 MB / 0.987 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08521/1.198, allocations: 47.09 MB / 1.033 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005028/1.203, allocations: 4.303 MB / 1.037 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005824/1.209, allocations: 1.845 MB / 1.039 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004249/1.213, allocations: 2.448 MB / 1.041 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of SimCode: time 1.162e-06/1.213, allocations: 0 / 1.041 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5712/1.785, allocations: 154.6 MB / 1.192 GB, free: 208.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.72/22.5, allocations: 4.828 kB / 1.192 GB, free: 208.9 MB / 0.8419 GB " [Timeout remaining time 637] (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.258097257988993] Failed to read output from testmodel.py, exit status != 0: 22.711112874007085 22.727121508 21.964170978 Calling exit ...