Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001287/0.001287, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001378/0.001378, allocations: 210.4 kB / 19.42 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8595/0.8595, allocations: 133.9 MB / 442.8 MB, free: 11.77 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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.00194/0.00194, allocations: 69.72 kB / 0.6134 GB, free: 8.781 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1748, allocations: 85.85 MB / 0.6973 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4449/0.6197, allocations: 56.63 MB / 0.7525 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02337/0.6431, allocations: 18.07 MB / 0.7702 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003664/0.6468, allocations: 101 kB / 0.7703 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.65, allocations: 0.9281 MB / 0.7712 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00883/0.6589, allocations: 2.625 MB / 0.7738 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.6638, allocations: 1.532 MB / 0.7753 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02488/0.6887, allocations: 21.23 MB / 0.796 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01582/0.7045, allocations: 8.916 MB / 0.8047 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01659/0.7211, allocations: 7.356 MB / 0.8119 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/0.7346, allocations: 6.68 MB / 0.8184 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003474/0.7381, allocations: 0.9414 MB / 0.8193 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008288/0.7464, allocations: 1.757 MB / 0.821 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004861/0.7513, allocations: 2.431 MB / 0.8234 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01186/0.7631, allocations: 4.711 MB / 0.828 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02071/0.7838, allocations: 13.3 MB / 0.841 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7838, allocations: 0 / 0.841 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7838, allocations: 0 / 0.841 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004701/0.7843, allocations: 0 / 0.841 GB, free: 2.227 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02573/0.81, allocations: 8.712 MB / 0.8495 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.8101, allocations: 13.11 kB / 0.8495 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003711/0.8138, allocations: 0.8383 MB / 0.8503 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.8193, allocations: 0.9527 MB / 0.8513 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.8344, allocations: 6.747 MB / 0.8578 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004973/0.8349, allocations: 462.1 kB / 0.8583 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/0.8372, allocations: 0.601 MB / 0.8589 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/0.8648, allocations: 9.033 MB / 0.8677 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002294/0.865, allocations: 27.75 kB / 0.8677 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/0.8668, allocations: 261.9 kB / 0.868 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.867, allocations: 172 kB / 0.8681 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.8857, allocations: 7.47 MB / 0.8754 GB, free: 14.66 MB / 0.6544 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.06204/0.9478, allocations: 36.05 MB / 0.9106 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/0.9551, allocations: 4.004 MB / 0.9146 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005426/0.9605, allocations: 3.035 MB / 0.9175 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.9621, allocations: 0.9613 MB / 0.9185 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005846/0.9679, allocations: 2.39 MB / 0.9208 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003007/0.9709, allocations: 401.1 kB / 0.9212 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 1.168e-05/0.9709, allocations: 0 / 0.9212 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01686/0.9878, allocations: 7.145 MB / 0.9281 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.9879, allocations: 85.91 kB / 0.9282 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/0.999, allocations: 5.671 MB / 0.9338 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009427/0.9999, allocations: 85.7 kB / 0.9338 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004466/1.004, allocations: 3.276 MB / 0.937 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/1.007, allocations: 1.167 MB / 0.9382 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.008, allocations: 0.8586 MB / 0.939 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.009, allocations: 309 kB / 0.9393 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/1.013, allocations: 2.171 MB / 0.9414 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00585/1.018, allocations: 3.689 MB / 0.945 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.029, allocations: 6.328 MB / 0.9512 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/1.029, allocations: 12 kB / 0.9512 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01399/1.043, allocations: 6.786 MB / 0.9579 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/1.043, allocations: 57.64 kB / 0.9579 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-05/1.043, allocations: 48 kB / 0.958 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.044, allocations: 440.6 kB / 0.9584 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.048, allocations: 1.01 MB / 0.9594 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/1.055, allocations: 5.707 MB / 0.9649 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/1.06, allocations: 287.7 kB / 0.9652 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009721/1.061, allocations: 220 kB / 0.9654 GB, free: 14.7 MB / 0.7481 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.005607/1.067, allocations: 2.482 MB / 0.9679 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/1.069, allocations: 0.5551 MB / 0.9684 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.08, allocations: 5.252 MB / 0.9735 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-05/1.08, allocations: 35.98 kB / 0.9736 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.08, allocations: 4 kB / 0.9736 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008259/1.088, allocations: 4.516 MB / 0.978 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/1.116, allocations: 11.97 MB / 0.9897 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.116, allocations: 4 kB / 0.9897 GB, free: 5.652 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003206/1.119, allocations: 0.6438 MB / 0.9903 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009738/1.12, allocations: 373.3 kB / 0.9906 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004862/1.121, allocations: 87.94 kB / 0.9907 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006402/1.127, allocations: 5.621 MB / 0.9962 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.127, allocations: 3.938 kB / 0.9962 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.141, allocations: 7.771 MB / 1.004 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/1.145, allocations: 1.188 MB / 1.005 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/1.146, allocations: 63.98 kB / 1.005 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.15, allocations: 203.9 kB / 1.005 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/1.151, allocations: 202.2 kB / 1.005 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003892/1.151, allocations: 135.9 kB / 1.006 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007853/1.159, allocations: 3.963 MB / 1.009 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/1.159, allocations: 0 / 1.009 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008102/1.167, allocations: 2.027 MB / 1.011 GB, free: 15.02 MB / 0.795 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.0159/1.183, allocations: 8.707 MB / 1.02 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009861/1.193, allocations: 5.234 MB / 1.025 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/1.193, allocations: 3.781 kB / 1.025 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004649/1.198, allocations: 2.373 MB / 1.027 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01869/1.216, allocations: 3.392 MB / 1.031 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.809/2.025, allocations: 52.53 MB / 1.082 GB, free: 276 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004458/2.03, allocations: 4.628 MB / 1.086 GB, free: 274.5 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.006041/2.036, allocations: 2.084 MB / 1.088 GB, free: 274.4 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004835/2.041, allocations: 2.668 MB / 1.091 GB, free: 272.3 MB / 0.8263 GB Notification: Performance of SimCode: time 2.534e-06/2.041, allocations: 0 / 1.091 GB, free: 272.3 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/2.257, allocations: 160.4 MB / 1.248 GB, free: 124.2 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/23.71, allocations: 10.48 kB / 1.248 GB, free: 124.2 MB / 0.8263 GB " [Timeout remaining time 636] (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.513475447995006] Failed to read output from testmodel.py, exit status != 0: 23.879851669000345 23.888628938 23.102361067 Calling exit ...