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.001286/0.001286, allocations: 113 kB / 18.94 MB, free: 2.934 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.001433/0.001433, allocations: 209.3 kB / 22.25 MB, free: 5.086 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.02 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.8446/0.8446, allocations: 134 MB / 446.4 MB, free: 10.26 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.001955/0.001955, allocations: 67.3 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 85.91 MB / 0.7024 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4174/0.5931, allocations: 50.31 MB / 0.7516 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02015/0.6133, allocations: 13.96 MB / 0.7652 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.6164, allocations: 90.08 kB / 0.7653 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.6188, allocations: 0.8372 MB / 0.7661 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007775/0.6266, allocations: 2.409 MB / 0.7685 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.6311, allocations: 1.365 MB / 0.7698 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02513/0.6562, allocations: 20.12 MB / 0.7894 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.6663, allocations: 6.486 MB / 0.7958 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/0.6812, allocations: 6.709 MB / 0.8023 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.693, allocations: 6.052 MB / 0.8082 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002776/0.6958, allocations: 0.8443 MB / 0.8091 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007946/0.7038, allocations: 1.679 MB / 0.8107 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004443/0.7082, allocations: 2.211 MB / 0.8129 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.7198, allocations: 4.293 MB / 0.8171 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.739, allocations: 12.17 MB / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.739, allocations: 0 / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.739, allocations: 0 / 0.8289 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004772/0.7395, allocations: 0 / 0.8289 GB, free: 14.61 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.02652/0.766, allocations: 7.86 MB / 0.8366 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.766, allocations: 8.031 kB / 0.8366 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00274/0.7688, allocations: 0.7668 MB / 0.8374 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004723/0.7735, allocations: 0.8829 MB / 0.8382 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.7878, allocations: 6.379 MB / 0.8445 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.7882, allocations: 413.2 kB / 0.8449 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.7902, allocations: 0.5382 MB / 0.8454 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.8092, allocations: 8.069 MB / 0.8533 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001578/0.8094, allocations: 15.83 kB / 0.8533 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009062/0.8103, allocations: 238.2 kB / 0.8535 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.8105, allocations: 171.9 kB / 0.8537 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.8252, allocations: 6.524 MB / 0.86 GB, free: 14.57 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.05187/0.8771, allocations: 31.16 MB / 0.8905 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006771/0.8838, allocations: 3.439 MB / 0.8938 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004308/0.8881, allocations: 2.584 MB / 0.8964 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/0.8888, allocations: 155.1 kB / 0.8965 GB, free: 7.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/0.8889, allocations: 76.45 kB / 0.8966 GB, free: 7.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=267): time 4.649e-06/0.8889, allocations: 0 / 0.8966 GB, free: 7.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=267): time 0.01137/0.9003, allocations: 5.623 MB / 0.9021 GB, free: 1.922 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.9004, allocations: 77.52 kB / 0.9021 GB, free: 1.832 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008563/0.9089, allocations: 5.247 MB / 0.9073 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006217/0.9096, allocations: 77.7 kB / 0.9073 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002882/0.9124, allocations: 2.937 MB / 0.9102 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001547/0.914, allocations: 0.9856 MB / 0.9112 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.9151, allocations: 0.7156 MB / 0.9119 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9153, allocations: 309.1 kB / 0.9122 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.9181, allocations: 1.682 MB / 0.9138 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.9221, allocations: 2.928 MB / 0.9167 GB, free: 2.395 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007485/0.9295, allocations: 4.966 MB / 0.9215 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.706e-05/0.9296, allocations: 12 kB / 0.9215 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01131/0.9409, allocations: 5.452 MB / 0.9268 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.9409, allocations: 20 kB / 0.9269 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-05/0.941, allocations: 43.94 kB / 0.9269 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.942, allocations: 417.6 kB / 0.9273 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.9452, allocations: 0.858 MB / 0.9281 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/0.952, allocations: 5.494 MB / 0.9335 GB, free: 284 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/0.957, allocations: 0.5354 MB / 0.934 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/0.9577, allocations: 176 kB / 0.9342 GB, free: 15.57 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.004691/0.9624, allocations: 2.284 MB / 0.9364 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/0.9643, allocations: 0.5046 MB / 0.9369 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007946/0.9723, allocations: 4.167 MB / 0.941 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/0.9723, allocations: 24 kB / 0.941 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9723, allocations: 4.188 kB / 0.941 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005586/0.9779, allocations: 3.632 MB / 0.9446 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/0.9995, allocations: 10.3 MB / 0.9546 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.9995, allocations: 4 kB / 0.9546 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.002, allocations: 0.4998 MB / 0.9551 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008819/1.002, allocations: 368.5 kB / 0.9555 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.003, allocations: 79.95 kB / 0.9555 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/1.009, allocations: 5.435 MB / 0.9609 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.009, allocations: 8 kB / 0.9609 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.02, allocations: 6.263 MB / 0.967 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004526/1.025, allocations: 1.08 MB / 0.968 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/1.026, allocations: 63.98 kB / 0.9681 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003636/1.03, allocations: 179.8 kB / 0.9683 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/1.03, allocations: 185.5 kB / 0.9684 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/1.031, allocations: 135.8 kB / 0.9686 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008362/1.039, allocations: 3.843 MB / 0.9723 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.039, allocations: 0 / 0.9723 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.007523/1.047, allocations: 1.817 MB / 0.9741 GB, free: 6.051 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.01225/1.059, allocations: 7.168 MB / 0.9811 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007608/1.067, allocations: 4.139 MB / 0.9851 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.067, allocations: 0 / 0.9851 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003254/1.07, allocations: 1.939 MB / 0.987 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01618/1.086, allocations: 3.446 MB / 0.9904 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08848/1.175, allocations: 47.2 MB / 1.036 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005036/1.18, allocations: 4.307 MB / 1.041 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006008/1.186, allocations: 1.855 MB / 1.043 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00459/1.19, allocations: 2.44 MB / 1.045 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of SimCode: time 1.343e-06/1.19, allocations: 0 / 1.045 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5875/1.778, allocations: 157.7 MB / 1.199 GB, free: 206.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/25.32, allocations: 8.484 kB / 1.199 GB, free: 206.3 MB / 0.8419 GB " [Timeout remaining time 634] (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: 29.106617533994722] Failed to read output from testmodel.py, exit status != 0: 25.514552314998582 25.532781089 24.789841641 Calling exit ...