Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.7 kB / 16.27 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 190.8 kB / 17.19 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7201/0.7201, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 77.91 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04718/0.3327, allocations: 55.98 MB / 0.6219 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02141/0.3542, allocations: 17.95 MB / 0.6395 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.3566, allocations: 75.62 kB / 0.6395 GB, free: 0.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.3592, allocations: 0.9002 MB / 0.6404 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.3656, allocations: 2.507 MB / 0.6429 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.3693, allocations: 1.518 MB / 0.6444 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01885/0.3882, allocations: 21.25 MB / 0.6651 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.4005, allocations: 10.69 MB / 0.6755 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/0.4126, allocations: 7.124 MB / 0.6825 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008642/0.4213, allocations: 6.366 MB / 0.6887 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002355/0.4237, allocations: 0.9375 MB / 0.6896 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.4289, allocations: 1.694 MB / 0.6913 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003168/0.4321, allocations: 2.345 MB / 0.6936 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.007821/0.4399, allocations: 4.707 MB / 0.6982 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4532, allocations: 13.04 MB / 0.7109 GB, free: 7.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4533, allocations: 4 kB / 0.7109 GB, free: 7.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4533, allocations: 0 / 0.7109 GB, free: 7.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002713/0.4535, allocations: 0 / 0.7109 GB, free: 7.305 MB / 0.545 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.01495/0.4685, allocations: 8.514 MB / 0.7192 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4685, allocations: 8.031 kB / 0.7192 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001105/0.4697, allocations: 0.8422 MB / 0.7201 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.472, allocations: 0.8587 MB / 0.7209 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009769/0.4818, allocations: 6.425 MB / 0.7272 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.4821, allocations: 460.2 kB / 0.7276 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008927/0.483, allocations: 0.5975 MB / 0.7282 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.4965, allocations: 9.032 MB / 0.737 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.4966, allocations: 19.78 kB / 0.737 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005927/0.4972, allocations: 260 kB / 0.7373 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.4974, allocations: 180 kB / 0.7374 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.5094, allocations: 7.449 MB / 0.7447 GB, free: 4.172 MB / 0.5762 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.2724/0.7817, allocations: 36.26 MB / 0.7801 GB, free: 130 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006698/0.7885, allocations: 4.288 MB / 0.7843 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/0.7932, allocations: 3.312 MB / 0.7875 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.7944, allocations: 0.959 MB / 0.7885 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003548/0.7979, allocations: 2.378 MB / 0.7908 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002237/0.8002, allocations: 369.6 kB / 0.7912 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 6.301e-06/0.8002, allocations: 0 / 0.7912 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01011/0.8103, allocations: 7.149 MB / 0.7981 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8104, allocations: 85.91 kB / 0.7982 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005623/0.816, allocations: 5.663 MB / 0.8038 GB, free: 116.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.8163, allocations: 85.7 kB / 0.8038 GB, free: 116 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.8182, allocations: 3.195 MB / 0.807 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007184/0.8189, allocations: 1.117 MB / 0.808 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00092/0.8198, allocations: 0.8541 MB / 0.8089 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.8199, allocations: 313 kB / 0.8092 GB, free: 110.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.8223, allocations: 2.156 MB / 0.8113 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.8252, allocations: 3.697 MB / 0.8149 GB, free: 104 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005689/0.8309, allocations: 6.315 MB / 0.8211 GB, free: 96.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.831, allocations: 16 kB / 0.8211 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008178/0.8392, allocations: 6.784 MB / 0.8277 GB, free: 90.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.8392, allocations: 59.7 kB / 0.8278 GB, free: 90.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.8393, allocations: 48 kB / 0.8278 GB, free: 90 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.84, allocations: 435.2 kB / 0.8282 GB, free: 89.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/0.8431, allocations: 1.01 MB / 0.8292 GB, free: 88.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/0.8471, allocations: 5.702 MB / 0.8348 GB, free: 82.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/0.851, allocations: 279.5 kB / 0.835 GB, free: 82.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.8513, allocations: 216 kB / 0.8352 GB, free: 82.11 MB / 0.5762 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.002929/0.8542, allocations: 2.487 MB / 0.8377 GB, free: 79.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.8552, allocations: 0.5327 MB / 0.8382 GB, free: 79.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/0.8619, allocations: 5.262 MB / 0.8433 GB, free: 73.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.862, allocations: 32 kB / 0.8434 GB, free: 73.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.862, allocations: 7.938 kB / 0.8434 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004986/0.867, allocations: 4.533 MB / 0.8478 GB, free: 69.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.882, allocations: 12.03 MB / 0.8595 GB, free: 56.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.8821, allocations: 8.031 kB / 0.8596 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/0.8845, allocations: 0.6436 MB / 0.8602 GB, free: 56.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006576/0.8852, allocations: 384 kB / 0.8605 GB, free: 55.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.8854, allocations: 83.95 kB / 0.8606 GB, free: 55.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.8893, allocations: 5.614 MB / 0.8661 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8893, allocations: 0 / 0.8661 GB, free: 49.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008988/0.8983, allocations: 7.762 MB / 0.8737 GB, free: 42.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/0.9005, allocations: 1.154 MB / 0.8748 GB, free: 40.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006895/0.9012, allocations: 64 kB / 0.8749 GB, free: 40.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/0.9038, allocations: 206.4 kB / 0.8751 GB, free: 40.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.9042, allocations: 202.1 kB / 0.8753 GB, free: 40.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.9044, allocations: 139.9 kB / 0.8754 GB, free: 40.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004531/0.9089, allocations: 3.963 MB / 0.8793 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.909, allocations: 0 / 0.8793 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004954/0.9139, allocations: 2.012 MB / 0.8812 GB, free: 34.39 MB / 0.5762 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.01024/0.9242, allocations: 8.71 MB / 0.8897 GB, free: 25.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01745/0.9417, allocations: 11.63 MB / 0.9011 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.9417, allocations: 4.438 kB / 0.9011 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/0.9446, allocations: 2.541 MB / 0.9036 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/0.959, allocations: 3.4 MB / 0.9069 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08714/1.046, allocations: 64.77 MB / 0.9702 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.051, allocations: 4.628 MB / 0.9747 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006469/1.058, allocations: 2.082 MB / 0.9767 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004224/1.062, allocations: 2.674 MB / 0.9793 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/1.062, allocations: 0 / 0.9793 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/1.464, allocations: 165.6 MB / 1.141 GB, free: 121 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.65, allocations: 10.8 kB / 1.141 GB, free: 121 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)