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.001219/0.001219, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001381/0.001381, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.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.7769/0.7769, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: 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.001353/0.001353, allocations: 71.77 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5033, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03501/0.5383, allocations: 45.48 MB / 0.8622 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.5533, allocations: 12.95 MB / 0.8749 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.5561, allocations: 92.16 kB / 0.8749 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.5579, allocations: 0.7992 MB / 0.8757 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.5621, allocations: 2.403 MB / 0.8781 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.5644, allocations: 1.378 MB / 0.8794 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01452/0.5789, allocations: 20.38 MB / 0.8993 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006931/0.5858, allocations: 6.469 MB / 0.9056 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.5964, allocations: 6.934 MB / 0.9124 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/0.6039, allocations: 6.285 MB / 0.9185 GB, free: 14.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.6052, allocations: 0.8438 MB / 0.9194 GB, free: 13.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.6086, allocations: 1.483 MB / 0.9208 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.6101, allocations: 2.204 MB / 0.923 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.6137, allocations: 3.529 MB / 0.9264 GB, free: 6.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.6215, allocations: 12.23 MB / 0.9384 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6215, allocations: 0 / 0.9384 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6215, allocations: 4 kB / 0.9384 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001476/0.6216, allocations: 0 / 0.9384 GB, free: 9.828 MB / 0.7136 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.008974/0.6306, allocations: 7.853 MB / 0.946 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.6306, allocations: 8.031 kB / 0.946 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007654/0.6314, allocations: 0.7603 MB / 0.9468 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.6332, allocations: 0.8867 MB / 0.9476 GB, free: 244 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006604/0.6398, allocations: 6.385 MB / 0.9539 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.6399, allocations: 415.2 kB / 0.9543 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/0.6404, allocations: 0.5429 MB / 0.9548 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008167/0.6486, allocations: 9.139 MB / 0.9637 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.193e-05/0.6487, allocations: 23.83 kB / 0.9638 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.649, allocations: 236 kB / 0.964 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.514e-05/0.6491, allocations: 167.9 kB / 0.9641 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/0.6557, allocations: 6.508 MB / 0.9705 GB, free: 8.254 MB / 0.7448 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.02113/0.6768, allocations: 23.33 MB / 0.9933 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.68, allocations: 3.433 MB / 0.9966 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.6826, allocations: 2.583 MB / 0.9992 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.683, allocations: 138 kB / 0.9993 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.6831, allocations: 76.66 kB / 0.9994 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=267): time 4.649e-06/0.6831, allocations: 0 / 0.9994 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=267): time 0.006878/0.69, allocations: 5.622 MB / 1.005 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.69, allocations: 77.52 kB / 1.005 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.6946, allocations: 5.317 MB / 1.01 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.6948, allocations: 77.7 kB / 1.01 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.6966, allocations: 2.934 MB / 1.013 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006806/0.6973, allocations: 0.9917 MB / 1.014 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006274/0.6979, allocations: 0.7156 MB / 1.015 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.698, allocations: 309.1 kB / 1.015 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.6996, allocations: 1.674 MB / 1.017 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.7019, allocations: 3.032 MB / 1.02 GB, free: 4.816 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.706, allocations: 4.962 MB / 1.024 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.706, allocations: 16 kB / 1.024 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005842/0.7118, allocations: 5.444 MB / 1.03 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7119, allocations: 24 kB / 1.03 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.7119, allocations: 40 kB / 1.03 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.7126, allocations: 429.8 kB / 1.03 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.7142, allocations: 0.8541 MB / 1.031 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/0.718, allocations: 5.425 MB / 1.036 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.7201, allocations: 0.5237 MB / 1.037 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.7202, allocations: 184 kB / 1.037 GB, free: 2.055 MB / 0.8073 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.002677/0.7229, allocations: 2.28 MB / 1.039 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.7235, allocations: 0.5047 MB / 1.04 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.7274, allocations: 4.179 MB / 1.044 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7274, allocations: 24 kB / 1.044 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7274, allocations: 7.938 kB / 1.044 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003254/0.7307, allocations: 3.624 MB / 1.047 GB, free: 7.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009675/0.7403, allocations: 9.537 MB / 1.057 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7403, allocations: 8.031 kB / 1.057 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.7414, allocations: 0.4993 MB / 1.057 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.7419, allocations: 376.3 kB / 1.058 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.742, allocations: 75.97 kB / 1.058 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.7455, allocations: 5.359 MB / 1.063 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.7455, allocations: 11.94 kB / 1.063 GB, free: 7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.7515, allocations: 6.265 MB / 1.069 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.7531, allocations: 1.08 MB / 1.07 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7535, allocations: 63.92 kB / 1.07 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.7548, allocations: 187.7 kB / 1.07 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.755, allocations: 181.5 kB / 1.071 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.7551, allocations: 131.9 kB / 1.071 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003727/0.7589, allocations: 3.843 MB / 1.074 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7589, allocations: 0 / 1.074 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003169/0.762, allocations: 1.825 MB / 1.076 GB, free: 9.27 MB / 0.8542 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.006373/0.7684, allocations: 7.168 MB / 1.083 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004344/0.7727, allocations: 4.136 MB / 1.087 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.7727, allocations: 4 kB / 1.087 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.7744, allocations: 1.927 MB / 1.089 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007691/0.7821, allocations: 3.463 MB / 1.092 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/0.827, allocations: 47.18 MB / 1.139 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.8298, allocations: 3.82 MB / 1.142 GB, free: 3.715 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00428/0.834, allocations: 1.838 MB / 1.144 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3674/1.201, allocations: 2.444 MB / 1.146 GB, free: 281.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.543e-06/1.201, allocations: 6.469 kB / 1.146 GB, free: 281.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/1.357, allocations: 164.8 MB / 1.307 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12.2, allocations: 11.06 kB / 1.307 GB, free: 153.9 MB / 0.9167 GB " [Timeout remaining time 648] (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: 15.30722377076745] Failed to read output from testmodel.py, exit status != 0: 12.346642603632063 12.357842957 11.733879914 Calling exit ...