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.001835/0.001835, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001537/0.001537, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.98 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.8903/0.8903, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.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.003528/0.003528, allocations: 62.81 kB / 0.6332 GB, free: 7.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2073, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4558/0.6631, allocations: 57.18 MB / 0.7748 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02736/0.6904, allocations: 18.2 MB / 0.7926 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.6938, allocations: 101.6 kB / 0.7927 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.6968, allocations: 0.9339 MB / 0.7936 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008476/0.7053, allocations: 2.672 MB / 0.7962 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.71, allocations: 1.606 MB / 0.7978 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02828/0.7383, allocations: 21.81 MB / 0.8191 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.7508, allocations: 7.095 MB / 0.826 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01793/0.7688, allocations: 7.343 MB / 0.8332 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.7819, allocations: 6.674 MB / 0.8397 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003243/0.7851, allocations: 0.9375 MB / 0.8406 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007568/0.7927, allocations: 1.776 MB / 0.8424 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00467/0.7973, allocations: 2.437 MB / 0.8447 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01136/0.8087, allocations: 4.707 MB / 0.8493 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02282/0.8315, allocations: 13.96 MB / 0.863 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.8315, allocations: 4 kB / 0.863 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8315, allocations: 4 kB / 0.863 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000538/0.8321, allocations: 0 / 0.863 GB, free: 10.2 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.02544/0.8575, allocations: 8.646 MB / 0.8714 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.8576, allocations: 8.031 kB / 0.8714 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002903/0.8605, allocations: 0.8422 MB / 0.8722 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.8648, allocations: 0.9667 MB / 0.8732 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.8804, allocations: 6.785 MB / 0.8798 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/0.8809, allocations: 460.2 kB / 0.8803 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/0.8834, allocations: 0.5937 MB / 0.8808 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.9045, allocations: 9.036 MB / 0.8897 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.9047, allocations: 19.83 kB / 0.8897 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.9057, allocations: 271.9 kB / 0.8899 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.9059, allocations: 179.9 kB / 0.8901 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.9234, allocations: 7.465 MB / 0.8974 GB, free: 6.43 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.06165/0.9851, allocations: 35.99 MB / 0.9325 GB, free: 376 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007119/0.9922, allocations: 4.011 MB / 0.9365 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005131/0.9973, allocations: 3.031 MB / 0.9394 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.9984, allocations: 218.2 kB / 0.9396 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004541/1.003, allocations: 2.386 MB / 0.942 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002976/1.006, allocations: 397 kB / 0.9423 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.265e-05/1.006, allocations: 0 / 0.9423 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01473/1.021, allocations: 7 MB / 0.9492 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.021, allocations: 85.91 kB / 0.9493 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.031, allocations: 5.682 MB / 0.9548 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0009461/1.032, allocations: 89.7 kB / 0.9549 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003967/1.036, allocations: 3.271 MB / 0.9581 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.038, allocations: 1.174 MB / 0.9592 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/1.04, allocations: 0.8585 MB / 0.9601 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.04, allocations: 305.1 kB / 0.9604 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/1.044, allocations: 2.16 MB / 0.9625 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/1.049, allocations: 3.701 MB / 0.9661 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/1.059, allocations: 6.319 MB / 0.9723 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.702e-05/1.059, allocations: 12 kB / 0.9723 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01379/1.073, allocations: 6.786 MB / 0.9789 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/1.073, allocations: 61.95 kB / 0.9789 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-05/1.073, allocations: 48 kB / 0.979 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/1.074, allocations: 435.6 kB / 0.9794 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.078, allocations: 0.9984 MB / 0.9804 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/1.085, allocations: 5.496 MB / 0.9858 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005572/1.091, allocations: 295.5 kB / 0.986 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.092, allocations: 216 kB / 0.9862 GB, free: 7.527 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.005713/1.097, allocations: 2.488 MB / 0.9887 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/1.099, allocations: 0.5512 MB / 0.9892 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.109, allocations: 5.266 MB / 0.9944 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/1.109, allocations: 35.94 kB / 0.9944 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.109, allocations: 4 kB / 0.9944 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009048/1.119, allocations: 4.52 MB / 0.9988 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/1.148, allocations: 12.02 MB / 1.011 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.148, allocations: 3.938 kB / 1.011 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003166/1.151, allocations: 0.6438 MB / 1.011 GB, free: 13.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/1.152, allocations: 376.4 kB / 1.012 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/1.153, allocations: 87.94 kB / 1.012 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/1.159, allocations: 5.416 MB / 1.017 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.159, allocations: 0 / 1.017 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/1.174, allocations: 7.794 MB / 1.025 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/1.179, allocations: 1.139 MB / 1.026 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/1.181, allocations: 67.98 kB / 1.026 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004437/1.185, allocations: 199.8 kB / 1.026 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006779/1.186, allocations: 214 kB / 1.026 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/1.186, allocations: 135.9 kB / 1.026 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008909/1.195, allocations: 3.967 MB / 1.03 GB, free: 10 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/1.195, allocations: 4 kB / 1.03 GB, free: 10 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008533/1.204, allocations: 2.027 MB / 1.032 GB, free: 7.969 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.01644/1.22, allocations: 8.715 MB / 1.041 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.23, allocations: 5.249 MB / 1.046 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.23, allocations: 4 kB / 1.046 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/1.235, allocations: 2.373 MB / 1.048 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01865/1.254, allocations: 3.382 MB / 1.051 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4828/1.737, allocations: 52.64 MB / 1.103 GB, free: 273.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.74, allocations: 4.629 MB / 1.107 GB, free: 271.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005212/1.746, allocations: 2.081 MB / 1.109 GB, free: 271.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003293/1.749, allocations: 2.672 MB / 1.112 GB, free: 269.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.433e-06/1.749, allocations: 3.688 kB / 1.112 GB, free: 269.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/1.958, allocations: 164.7 MB / 1.273 GB, free: 114.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.23/26.18, allocations: 15.92 kB / 1.273 GB, free: 114.3 MB / 0.8419 GB " [Timeout remaining time 634] (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: 30.142344807998597] Failed to read output from testmodel.py, exit status != 0: 26.38991619800072 26.405754113 25.5703975 Calling exit ...