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.001357/0.001357, allocations: 114.3 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.00155/0.00155, allocations: 216 kB / 22.25 MB, free: 5.074 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.023 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.8466/0.8466, allocations: 134 MB / 446.4 MB, free: 10.29 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.001924/0.001924, allocations: 69.42 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1749, allocations: 85.9 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4379/0.6127, allocations: 57.16 MB / 0.7583 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.6357, allocations: 18.19 MB / 0.776 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.6393, allocations: 102.3 kB / 0.7761 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.6422, allocations: 0.928 MB / 0.777 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008241/0.6504, allocations: 2.682 MB / 0.7796 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.6546, allocations: 1.604 MB / 0.7812 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02308/0.6776, allocations: 21.8 MB / 0.8025 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.6887, allocations: 7.13 MB / 0.8095 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01606/0.7047, allocations: 7.363 MB / 0.8166 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01358/0.7183, allocations: 6.676 MB / 0.8232 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002966/0.7213, allocations: 0.9375 MB / 0.8241 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007967/0.7292, allocations: 1.782 MB / 0.8258 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003963/0.7332, allocations: 2.437 MB / 0.8282 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01027/0.7435, allocations: 4.707 MB / 0.8328 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01898/0.7624, allocations: 13.3 MB / 0.8458 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7624, allocations: 0 / 0.8458 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7624, allocations: 3.938 kB / 0.8458 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004662/0.7629, allocations: 4 kB / 0.8458 GB, free: 2.539 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.02204/0.7849, allocations: 8.64 MB / 0.8542 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.785, allocations: 8.031 kB / 0.8542 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002063/0.7871, allocations: 0.8422 MB / 0.8551 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.7908, allocations: 0.9527 MB / 0.856 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.8071, allocations: 6.776 MB / 0.8626 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.8075, allocations: 456.2 kB / 0.863 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/0.8097, allocations: 0.6005 MB / 0.8636 GB, free: 296 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.8305, allocations: 9.036 MB / 0.8725 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.8307, allocations: 19.83 kB / 0.8725 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.8322, allocations: 263.3 kB / 0.8727 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.8324, allocations: 183.9 kB / 0.8729 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.8491, allocations: 7.461 MB / 0.8802 GB, free: 15.01 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.06202/0.9111, allocations: 35.96 MB / 0.9153 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007955/0.9191, allocations: 4.008 MB / 0.9192 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005654/0.9248, allocations: 3.034 MB / 0.9222 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.9259, allocations: 217.3 kB / 0.9224 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004897/0.9308, allocations: 2.386 MB / 0.9247 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002916/0.9337, allocations: 401 kB / 0.9251 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 1.049e-05/0.9337, allocations: 0 / 0.9251 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01483/0.9485, allocations: 7.003 MB / 0.9319 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.9486, allocations: 85.91 kB / 0.932 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/0.9596, allocations: 5.682 MB / 0.9376 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007622/0.9603, allocations: 85.7 kB / 0.9377 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003668/0.964, allocations: 3.273 MB / 0.9409 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.9658, allocations: 1.167 MB / 0.942 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.9672, allocations: 0.8663 MB / 0.9428 GB, free: 13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9673, allocations: 305.1 kB / 0.9431 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/0.9708, allocations: 2.163 MB / 0.9452 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.9755, allocations: 3.697 MB / 0.9489 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008637/0.9841, allocations: 6.319 MB / 0.955 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-05/0.9842, allocations: 16 kB / 0.955 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01249/0.9967, allocations: 6.782 MB / 0.9617 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.9967, allocations: 53.7 kB / 0.9617 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.059e-05/0.9968, allocations: 48.84 kB / 0.9618 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.998, allocations: 441.2 kB / 0.9622 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.002, allocations: 1.006 MB / 0.9632 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/1.009, allocations: 5.504 MB / 0.9685 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.014, allocations: 287.5 kB / 0.9688 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007394/1.014, allocations: 216 kB / 0.969 GB, free: 492 kB / 0.7325 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.005811/1.02, allocations: 2.481 MB / 0.9714 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/1.023, allocations: 0.559 MB / 0.972 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.034, allocations: 5.251 MB / 0.9771 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/1.034, allocations: 32 kB / 0.9771 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.034, allocations: 4 kB / 0.9771 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00788/1.042, allocations: 4.52 MB / 0.9816 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02992/1.072, allocations: 12.02 MB / 0.9933 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.072, allocations: 0 / 0.9933 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/1.075, allocations: 0.6438 MB / 0.9939 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.076, allocations: 379.5 kB / 0.9943 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004624/1.077, allocations: 83.95 kB / 0.9944 GB, free: 6.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/1.084, allocations: 5.412 MB / 0.9997 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.084, allocations: 3.938 kB / 0.9997 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.098, allocations: 7.787 MB / 1.007 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004326/1.102, allocations: 1.142 MB / 1.008 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.104, allocations: 67.98 kB / 1.008 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/1.108, allocations: 191.8 kB / 1.009 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/1.108, allocations: 214 kB / 1.009 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000458/1.109, allocations: 135.9 kB / 1.009 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007764/1.116, allocations: 3.967 MB / 1.013 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/1.116, allocations: 3.938 kB / 1.013 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007135/1.123, allocations: 2.027 MB / 1.015 GB, free: 1.047 MB / 0.7794 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.01398/1.137, allocations: 8.705 MB / 1.023 GB, free: 8.258 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009191/1.147, allocations: 5.245 MB / 1.028 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.147, allocations: 7.781 kB / 1.028 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003917/1.151, allocations: 2.369 MB / 1.031 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01462/1.165, allocations: 3.401 MB / 1.034 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4378/1.603, allocations: 52.64 MB / 1.085 GB, free: 274.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004/1.607, allocations: 4.629 MB / 1.09 GB, free: 272.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0054/1.612, allocations: 2.077 MB / 1.092 GB, free: 272.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/1.615, allocations: 2.675 MB / 1.095 GB, free: 270.7 MB / 0.8262 GB Notification: Performance of SimCode: time 1.223e-06/1.615, allocations: 0 / 1.095 GB, free: 270.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/1.819, allocations: 164.2 MB / 1.255 GB, free: 121.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.18/26, allocations: 3.984 kB / 1.255 GB, free: 121.3 MB / 0.8262 GB " [Timeout remaining time 634] (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: 29.81272457400337] Failed to read output from testmodel.py, exit status != 0: 26.204220241997973 26.221078912 25.455108405 Calling exit ...