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.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001743/0.001743, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.785 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.8768/0.8768, allocations: 134 MB / 446.4 MB, free: 9.945 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.001991/0.001991, allocations: 63.56 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1898, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4861/0.6759, allocations: 51.53 MB / 0.7527 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02346/0.6993, allocations: 16.82 MB / 0.7691 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003106/0.7025, allocations: 107.3 kB / 0.7692 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.7052, allocations: 0.9002 MB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008391/0.7136, allocations: 2.659 MB / 0.7727 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.7183, allocations: 1.569 MB / 0.7742 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02435/0.7427, allocations: 22.01 MB / 0.7957 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.7537, allocations: 7.141 MB / 0.8027 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/0.7704, allocations: 7.399 MB / 0.8099 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0142/0.7846, allocations: 6.996 MB / 0.8168 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003529/0.7881, allocations: 0.9375 MB / 0.8177 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0088/0.7969, allocations: 1.581 MB / 0.8192 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005899/0.8028, allocations: 2.436 MB / 0.8216 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01246/0.8153, allocations: 3.861 MB / 0.8254 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02343/0.8387, allocations: 13.33 MB / 0.8384 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.8387, allocations: 0 / 0.8384 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8387, allocations: 0 / 0.8384 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005183/0.8393, allocations: 0 / 0.8384 GB, free: 7.332 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.02652/0.8658, allocations: 8.643 MB / 0.8468 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8658, allocations: 12.03 kB / 0.8468 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003127/0.869, allocations: 0.8419 MB / 0.8477 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005581/0.8745, allocations: 0.9566 MB / 0.8486 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/0.8918, allocations: 6.775 MB / 0.8552 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/0.8923, allocations: 458.1 kB / 0.8556 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/0.895, allocations: 0.5957 MB / 0.8562 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02546/0.9204, allocations: 10.09 MB / 0.8661 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000347/0.9208, allocations: 23.83 kB / 0.8661 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002436/0.9232, allocations: 264 kB / 0.8664 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002799/0.9235, allocations: 179.9 kB / 0.8665 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.9414, allocations: 7.449 MB / 0.8738 GB, free: 2.527 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.05733/0.9987, allocations: 27.23 MB / 0.9004 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007626/1.006, allocations: 3.977 MB / 0.9043 GB, free: 3.168 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005553/1.012, allocations: 3.035 MB / 0.9072 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.013, allocations: 210.8 kB / 0.9074 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00564/1.019, allocations: 3.452 MB / 0.9108 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00288/1.022, allocations: 404.9 kB / 0.9112 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.07e-05/1.022, allocations: 4 kB / 0.9112 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01609/1.038, allocations: 6.998 MB / 0.918 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/1.038, allocations: 93.83 kB / 0.9181 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/1.051, allocations: 5.763 MB / 0.9238 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009313/1.052, allocations: 85.7 kB / 0.9238 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004977/1.057, allocations: 3.27 MB / 0.927 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.059, allocations: 1.175 MB / 0.9282 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003281/1.063, allocations: 0.8624 MB / 0.929 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002007/1.063, allocations: 305.1 kB / 0.9293 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004728/1.068, allocations: 2.189 MB / 0.9314 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00599/1.074, allocations: 3.826 MB / 0.9352 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.084, allocations: 6.32 MB / 0.9414 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.039e-05/1.084, allocations: 16 kB / 0.9414 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01641/1.1, allocations: 6.812 MB / 0.948 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.101, allocations: 57.77 kB / 0.9481 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.101, allocations: 48 kB / 0.9481 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.102, allocations: 445.2 kB / 0.9485 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/1.106, allocations: 1.006 MB / 0.9495 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007544/1.114, allocations: 5.417 MB / 0.9548 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/1.119, allocations: 287.7 kB / 0.9551 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009132/1.12, allocations: 216 kB / 0.9553 GB, free: 12.81 MB / 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.005567/1.126, allocations: 2.483 MB / 0.9577 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/1.128, allocations: 0.559 MB / 0.9583 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.14, allocations: 5.261 MB / 0.9634 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/1.14, allocations: 32 kB / 0.9634 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/1.14, allocations: 4 kB / 0.9634 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007921/1.148, allocations: 4.526 MB / 0.9679 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.174, allocations: 11.08 MB / 0.9787 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/1.174, allocations: 4 kB / 0.9787 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/1.177, allocations: 0.6438 MB / 0.9793 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008909/1.178, allocations: 371.9 kB / 0.9797 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.178, allocations: 87.94 kB / 0.9798 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/1.184, allocations: 5.33 MB / 0.985 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.184, allocations: 3.938 kB / 0.985 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.198, allocations: 7.747 MB / 0.9925 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004579/1.203, allocations: 1.15 MB / 0.9937 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/1.204, allocations: 64 kB / 0.9937 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003783/1.208, allocations: 195.8 kB / 0.9939 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/1.209, allocations: 210.1 kB / 0.9941 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/1.209, allocations: 139.9 kB / 0.9942 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.007006/1.216, allocations: 3.971 MB / 0.9981 GB, free: 484 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.216, allocations: 0 / 0.9981 GB, free: 484 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009015/1.225, allocations: 2.02 MB / 1 GB, free: 14.45 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.01603/1.241, allocations: 8.681 MB / 1.009 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009959/1.251, allocations: 5.256 MB / 1.014 GB, free: 384 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.251, allocations: 7.938 kB / 1.014 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004578/1.255, allocations: 2.362 MB / 1.016 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0189/1.274, allocations: 3.395 MB / 1.019 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8126/2.087, allocations: 52.73 MB / 1.071 GB, free: 280.3 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007934/2.095, allocations: 4.145 MB / 1.075 GB, free: 279.3 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.007969/2.103, allocations: 2.068 MB / 1.077 GB, free: 279.3 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005161/2.108, allocations: 2.673 MB / 1.079 GB, free: 277.2 MB / 0.8263 GB Notification: Performance of SimCode: time 1.233e-06/2.108, allocations: 4.688 kB / 1.08 GB, free: 277.2 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3791/2.487, allocations: 171 MB / 1.247 GB, free: 125.9 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.75/22.23, allocations: 15.2 kB / 1.247 GB, free: 125.9 MB / 0.8263 GB " [Timeout remaining time 638] (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: 26.17695365101099] Failed to read output from testmodel.py, exit status != 0: 22.44292993284762 22.463953885 21.620912601 Calling exit ...