Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00133/0.00133, allocations: 104 kB / 16.45 MB, free: 6.453 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.001473/0.001473, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.571/1.571, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.926/0.926, allocations: 145 MB / 453.8 MB, free: 0.6992 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.00193/0.00193, allocations: 66.38 kB / 0.628 GB, free: 10.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 87.82 MB / 0.7138 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4711/0.6735, allocations: 56.63 MB / 0.7691 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.703, allocations: 18.09 MB / 0.7868 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.7076, allocations: 100.9 kB / 0.7868 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.7113, allocations: 0.9303 MB / 0.7878 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009509/0.7208, allocations: 2.626 MB / 0.7903 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.7259, allocations: 1.536 MB / 0.7918 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02566/0.7515, allocations: 21.25 MB / 0.8126 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01499/0.7665, allocations: 8.879 MB / 0.8212 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01881/0.7853, allocations: 7.331 MB / 0.8284 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.7999, allocations: 6.662 MB / 0.8349 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004123/0.804, allocations: 0.9375 MB / 0.8358 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008863/0.8129, allocations: 1.756 MB / 0.8375 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005661/0.8185, allocations: 2.433 MB / 0.8399 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0151/0.8336, allocations: 4.719 MB / 0.8445 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02733/0.861, allocations: 13.95 MB / 0.8582 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.861, allocations: 3.984 kB / 0.8582 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.136e-06/0.861, allocations: 0 / 0.8582 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006546/0.8616, allocations: 4 kB / 0.8582 GB, free: 12.63 MB / 0.6387 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.02849/0.8901, allocations: 8.717 MB / 0.8667 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.8902, allocations: 8.031 kB / 0.8667 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003413/0.8936, allocations: 0.846 MB / 0.8675 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/0.8993, allocations: 0.9527 MB / 0.8684 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/0.9151, allocations: 6.769 MB / 0.875 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/0.9156, allocations: 460.2 kB / 0.8755 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002577/0.9182, allocations: 0.5937 MB / 0.8761 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.9437, allocations: 9.04 MB / 0.8849 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003264/0.944, allocations: 27.83 kB / 0.8849 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002287/0.9463, allocations: 260 kB / 0.8852 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.9466, allocations: 179.9 kB / 0.8853 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.9656, allocations: 7.457 MB / 0.8926 GB, free: 8.832 MB / 0.67 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.06377/1.029, allocations: 36.09 MB / 0.9279 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/1.037, allocations: 4.004 MB / 0.9318 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/1.042, allocations: 3.031 MB / 0.9347 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/1.043, allocations: 0.9544 MB / 0.9357 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004162/1.048, allocations: 2.394 MB / 0.938 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002671/1.05, allocations: 405 kB / 0.9384 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 8.055e-06/1.05, allocations: 0 / 0.9384 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01454/1.065, allocations: 7.139 MB / 0.9454 GB, free: 460 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.065, allocations: 89.91 kB / 0.9454 GB, free: 356 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.076, allocations: 5.667 MB / 0.951 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000991/1.077, allocations: 89.7 kB / 0.9511 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/1.08, allocations: 3.271 MB / 0.9543 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002201/1.083, allocations: 1.17 MB / 0.9554 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.084, allocations: 0.8624 MB / 0.9562 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.084, allocations: 305.1 kB / 0.9565 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/1.088, allocations: 2.16 MB / 0.9586 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/1.094, allocations: 3.701 MB / 0.9623 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.105, allocations: 6.319 MB / 0.9684 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.902e-05/1.105, allocations: 16 kB / 0.9684 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01442/1.119, allocations: 6.787 MB / 0.9751 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/1.119, allocations: 57.69 kB / 0.9751 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-05/1.119, allocations: 48 kB / 0.9752 GB, free: 400 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.12, allocations: 433.4 kB / 0.9756 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/1.125, allocations: 1.006 MB / 0.9766 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/1.131, allocations: 5.708 MB / 0.9821 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.137, allocations: 291.7 kB / 0.9824 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.138, allocations: 216 kB / 0.9826 GB, free: 8.477 MB / 0.7637 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.006906/1.145, allocations: 2.48 MB / 0.9851 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/1.147, allocations: 0.5551 MB / 0.9856 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.157, allocations: 5.27 MB / 0.9907 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/1.158, allocations: 32 kB / 0.9908 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.158, allocations: 8 kB / 0.9908 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007357/1.165, allocations: 4.512 MB / 0.9952 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.191, allocations: 11.97 MB / 1.007 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.191, allocations: 3.984 kB / 1.007 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/1.194, allocations: 0.6438 MB / 1.008 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009531/1.195, allocations: 377.3 kB / 1.008 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/1.196, allocations: 79.95 kB / 1.008 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/1.203, allocations: 5.625 MB / 1.013 GB, free: 8.332 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.203, allocations: 0 / 1.013 GB, free: 8.332 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.217, allocations: 7.776 MB / 1.021 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00407/1.222, allocations: 1.181 MB / 1.022 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.223, allocations: 75.92 kB / 1.022 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/1.227, allocations: 199.9 kB / 1.022 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/1.227, allocations: 202.2 kB / 1.023 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003694/1.228, allocations: 143.8 kB / 1.023 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008348/1.236, allocations: 3.963 MB / 1.027 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/1.236, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008819/1.245, allocations: 2.023 MB / 1.029 GB, free: 8.676 MB / 0.8106 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.01562/1.261, allocations: 8.711 MB / 1.037 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009825/1.27, allocations: 5.241 MB / 1.042 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.27, allocations: 4 kB / 1.042 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004191/1.275, allocations: 2.378 MB / 1.045 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/1.292, allocations: 3.39 MB / 1.048 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5056/1.797, allocations: 52.52 MB / 1.099 GB, free: 274.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004176/1.802, allocations: 4.631 MB / 1.104 GB, free: 273.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005815/1.807, allocations: 2.086 MB / 1.106 GB, free: 273.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/1.811, allocations: 2.678 MB / 1.108 GB, free: 271.2 MB / 0.8419 GB Notification: Performance of SimCode: time 1.553e-06/1.811, allocations: 0 / 1.108 GB, free: 271.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2365/2.048, allocations: 160.8 MB / 1.265 GB, free: 119.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.45/24.5, allocations: 10.88 kB / 1.265 GB, free: 119.8 MB / 0.8419 GB " [Timeout remaining time 635] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.503875687994878] Failed to read output from testmodel.py, exit status != 0: 24.67561844601005 24.687158601 23.823393559 Calling exit ...