Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001245/0.001245, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001522/0.001522, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9039/0.9039, allocations: 177.1 MB / 202.8 MB, free: 5.746 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-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 0.7317/0.7317, allocations: 154.5 MB / 413.7 MB, free: 0.8516 MB / 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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 3.984 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.565e-05, allocations: 3.594 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02928/0.02929, allocations: 45.11 MB / 0.6621 GB, free: 488 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.04507, allocations: 12.95 MB / 0.6747 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.04692, allocations: 91.25 kB / 0.6748 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.04849, allocations: 0.8184 MB / 0.6756 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.05293, allocations: 2.455 MB / 0.678 GB, free: 116 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2981/0.351, allocations: 1.427 MB / 0.6794 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.3637, allocations: 20.54 MB / 0.6995 GB, free: 42.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008439/0.3722, allocations: 6.483 MB / 0.7058 GB, free: 41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01941/0.3916, allocations: 9.448 MB / 0.715 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.4017, allocations: 5.744 MB / 0.7206 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003208/0.405, allocations: 0.8442 MB / 0.7215 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006888/0.4118, allocations: 1.495 MB / 0.7229 GB, free: 35.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004273/0.4161, allocations: 2.263 MB / 0.7251 GB, free: 34.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/0.4269, allocations: 3.047 MB / 0.7281 GB, free: 32.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.4457, allocations: 12.34 MB / 0.7402 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4457, allocations: 0 / 0.7402 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4457, allocations: 1.844 kB / 0.7402 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004818/0.4462, allocations: 1.406 kB / 0.7402 GB, free: 29.23 MB / 0.6355 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.02333/0.4695, allocations: 7.785 MB / 0.7478 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.128e-05/0.4696, allocations: 13.78 kB / 0.7478 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003351/0.4729, allocations: 0.762 MB / 0.7485 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.4779, allocations: 0.8859 MB / 0.7494 GB, free: 24.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.491, allocations: 6.383 MB / 0.7556 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.4913, allocations: 413.7 kB / 0.756 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/0.4938, allocations: 0.5483 MB / 0.7565 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.5111, allocations: 9.131 MB / 0.7655 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.5112, allocations: 18.34 kB / 0.7655 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009951/0.5122, allocations: 234.5 kB / 0.7657 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.5123, allocations: 174.1 kB / 0.7659 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.5254, allocations: 6.51 MB / 0.7722 GB, free: 12.68 MB / 0.6355 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.03682/0.5622, allocations: 23.31 MB / 0.795 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/0.5669, allocations: 3.427 MB / 0.7983 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/0.57, allocations: 2.586 MB / 0.8009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.5704, allocations: 142 kB / 0.801 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.5705, allocations: 76.45 kB / 0.8011 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=267): time 4.939e-06/0.5705, allocations: 0 / 0.8011 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=267): time 0.009338/0.5798, allocations: 5.622 MB / 0.8066 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5799, allocations: 84.98 kB / 0.8066 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00798/0.5879, allocations: 5.317 MB / 0.8118 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007965/0.5887, allocations: 77.7 kB / 0.8119 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002572/0.5912, allocations: 2.929 MB / 0.8148 GB, free: 1.266 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/0.5929, allocations: 0.9693 MB / 0.8157 GB, free: 316 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.594, allocations: 0.7158 MB / 0.8164 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.5941, allocations: 301.1 kB / 0.8167 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.5961, allocations: 1.674 MB / 0.8183 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.599, allocations: 3.032 MB / 0.8213 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00602/0.605, allocations: 4.971 MB / 0.8262 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/0.605, allocations: 12 kB / 0.8262 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009516/0.6145, allocations: 5.448 MB / 0.8315 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.6146, allocations: 24 kB / 0.8315 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/0.6146, allocations: 40 kB / 0.8315 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/0.6154, allocations: 422.4 kB / 0.8319 GB, free: 14.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.6175, allocations: 0.8587 MB / 0.8328 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.6219, allocations: 5.411 MB / 0.8381 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.6269, allocations: 0.5355 MB / 0.8386 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009668/0.6279, allocations: 180 kB / 0.8388 GB, free: 7.781 MB / 0.698 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.005201/0.6331, allocations: 2.289 MB / 0.841 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/0.635, allocations: 0.4969 MB / 0.8415 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/0.6416, allocations: 4.166 MB / 0.8456 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.6416, allocations: 35.98 kB / 0.8456 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6416, allocations: 4 kB / 0.8456 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003898/0.6455, allocations: 3.616 MB / 0.8491 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.663, allocations: 9.542 MB / 0.8584 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.663, allocations: 4.562 kB / 0.8584 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.6644, allocations: 0.4983 MB / 0.8589 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/0.6651, allocations: 374.3 kB / 0.8593 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003815/0.6655, allocations: 79.95 kB / 0.8594 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.6698, allocations: 5.372 MB / 0.8646 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6698, allocations: 7.188 kB / 0.8646 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00878/0.6786, allocations: 6.266 MB / 0.8707 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003551/0.6821, allocations: 1.085 MB / 0.8718 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/0.6837, allocations: 59.98 kB / 0.8719 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/0.6869, allocations: 171.8 kB / 0.872 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.6873, allocations: 188.9 kB / 0.8722 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003152/0.6876, allocations: 127.9 kB / 0.8723 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006312/0.6939, allocations: 3.855 MB / 0.8761 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6939, allocations: 0 / 0.8761 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007905/0.7018, allocations: 1.813 MB / 0.8779 GB, free: 15.32 MB / 0.7448 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.01058/0.7124, allocations: 7.17 MB / 0.8849 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005989/0.7184, allocations: 4.139 MB / 0.8889 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.7184, allocations: 4 kB / 0.8889 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.7211, allocations: 1.923 MB / 0.8908 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01343/0.7345, allocations: 3.458 MB / 0.8942 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08327/0.8178, allocations: 47.02 MB / 0.9401 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004767/0.8225, allocations: 3.818 MB / 0.9438 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005868/0.8284, allocations: 1.847 MB / 0.9456 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004952/0.8333, allocations: 2.445 MB / 0.948 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of SimCode: time 1.492e-06/0.8333, allocations: 3.938 kB / 0.948 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.413/1.246, allocations: 164.2 MB / 1.108 GB, free: 207.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.23, allocations: 18.34 kB / 1.108 GB, free: 207.4 MB / 0.8386 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.131447627209127] Failed to read output from testmodel.py, exit status != 0: 15.384892611764371 15.394043237 14.946718469 Calling exit ...