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.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.001242/0.001242, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001111/0.001111, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5576/0.5576, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.095e-05, allocations: 3.969 kB / 0.5542 GB, free: 1.723 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03366/0.03368, allocations: 51.21 MB / 0.6042 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.04986, allocations: 16.74 MB / 0.6205 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.05125, allocations: 99.19 kB / 0.6206 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.05274, allocations: 0.9116 MB / 0.6215 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.05666, allocations: 2.731 MB / 0.6242 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.05899, allocations: 1.65 MB / 0.6258 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.07302, allocations: 22.11 MB / 0.6474 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2726/0.3456, allocations: 6.729 MB / 0.654 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01455/0.3601, allocations: 10.33 MB / 0.664 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.3704, allocations: 6.32 MB / 0.6702 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002117/0.3726, allocations: 0.9383 MB / 0.6711 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.377, allocations: 1.591 MB / 0.6727 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3787, allocations: 2.492 MB / 0.6751 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.3835, allocations: 3.356 MB / 0.6784 GB, free: 15 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3935, allocations: 13.52 MB / 0.6916 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3935, allocations: 0 / 0.6916 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3935, allocations: 0 / 0.6916 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002922/0.3938, allocations: 0 / 0.6916 GB, free: 14.44 MB / 0.5573 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.01154/0.4053, allocations: 8.552 MB / 0.7 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4054, allocations: 9.312 kB / 0.7 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007668/0.4061, allocations: 0.8438 MB / 0.7008 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.4079, allocations: 0.9537 MB / 0.7017 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/0.4146, allocations: 6.784 MB / 0.7083 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4147, allocations: 460.1 kB / 0.7088 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/0.4153, allocations: 0.5984 MB / 0.7094 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.4253, allocations: 10.1 MB / 0.7192 GB, free: 14.6 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.032e-05/0.4254, allocations: 21.48 kB / 0.7193 GB, free: 14.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/0.4259, allocations: 260.2 kB / 0.7195 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.426, allocations: 180.7 kB / 0.7197 GB, free: 14.39 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008346/0.4343, allocations: 7.451 MB / 0.727 GB, free: 10.33 MB / 0.573 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.02842/0.4628, allocations: 27.22 MB / 0.7535 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/0.4668, allocations: 3.969 MB / 0.7574 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.4695, allocations: 3.037 MB / 0.7604 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.47, allocations: 202.3 kB / 0.7606 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002967/0.473, allocations: 3.46 MB / 0.7639 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001659/0.4747, allocations: 404.7 kB / 0.7643 GB, free: 4.012 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=317): time 7.214e-06/0.4747, allocations: 0 / 0.7643 GB, free: 4.012 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317): time 0.007741/0.4824, allocations: 7 MB / 0.7712 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.4825, allocations: 85.89 kB / 0.7713 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005556/0.488, allocations: 5.759 MB / 0.7769 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.4882, allocations: 85.7 kB / 0.777 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/0.4902, allocations: 3.263 MB / 0.7801 GB, free: 3.785 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/0.491, allocations: 1.155 MB / 0.7813 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008343/0.4918, allocations: 0.8468 MB / 0.7821 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.4919, allocations: 309.1 kB / 0.7824 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.4943, allocations: 2.192 MB / 0.7845 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/0.4972, allocations: 3.826 MB / 0.7883 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/0.503, allocations: 6.325 MB / 0.7944 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.503, allocations: 16 kB / 0.7945 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008133/0.5111, allocations: 6.816 MB / 0.8011 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.5112, allocations: 59.72 kB / 0.8012 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/0.5113, allocations: 54.41 kB / 0.8012 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006779/0.5119, allocations: 429.6 kB / 0.8016 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/0.5139, allocations: 1.004 MB / 0.8026 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.5182, allocations: 5.424 MB / 0.8079 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.5216, allocations: 291.7 kB / 0.8082 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.5218, allocations: 216 kB / 0.8084 GB, free: 5.762 MB / 0.6511 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.003615/0.5254, allocations: 2.479 MB / 0.8108 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/0.5262, allocations: 0.5473 MB / 0.8114 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005922/0.5321, allocations: 5.269 MB / 0.8165 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.5322, allocations: 32 kB / 0.8165 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-06/0.5322, allocations: 4 kB / 0.8165 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004502/0.5367, allocations: 4.524 MB / 0.821 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.5496, allocations: 11.07 MB / 0.8318 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5496, allocations: 2.516 kB / 0.8318 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.5511, allocations: 0.6484 MB / 0.8324 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000757/0.5518, allocations: 373.3 kB / 0.8328 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.552, allocations: 83.95 kB / 0.8328 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/0.5556, allocations: 5.324 MB / 0.838 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5556, allocations: 7.938 kB / 0.838 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007762/0.5634, allocations: 7.74 MB / 0.8456 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/0.5652, allocations: 1.147 MB / 0.8467 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.5656, allocations: 71.92 kB / 0.8468 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.5673, allocations: 183.8 kB / 0.847 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.5676, allocations: 213.2 kB / 0.8472 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.5678, allocations: 143.9 kB / 0.8473 GB, free: 13.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003995/0.5718, allocations: 3.955 MB / 0.8512 GB, free: 9.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.5718, allocations: 0 / 0.8512 GB, free: 9.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004015/0.5758, allocations: 2.039 MB / 0.8532 GB, free: 7.637 MB / 0.698 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.008596/0.5844, allocations: 8.678 MB / 0.8616 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005747/0.5901, allocations: 5.261 MB / 0.8668 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5901, allocations: 0 / 0.8668 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/0.5927, allocations: 2.369 MB / 0.8691 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008984/0.6017, allocations: 3.383 MB / 0.8724 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06691/0.6686, allocations: 52.56 MB / 0.9237 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/0.6716, allocations: 4.154 MB / 0.9278 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004667/0.6763, allocations: 2.049 MB / 0.9298 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00305/0.6794, allocations: 2.674 MB / 0.9324 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of SimCode: time 1.052e-06/0.6794, allocations: 0 / 0.9324 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3775/1.057, allocations: 170.1 MB / 1.098 GB, free: 162.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.12, allocations: 10.98 kB / 1.098 GB, free: 162.1 MB / 0.7761 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.770185381174088] Failed to read output from testmodel.py, exit status != 0: 15.281374421902001 15.288727797 14.893585811 Calling exit ...