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.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1.046/1.046, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 56.05 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 82.04 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3304/0.4947, allocations: 55.98 MB / 0.6491 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.5157, allocations: 17.95 MB / 0.6666 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.5197, allocations: 78.66 kB / 0.6667 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.5229, allocations: 0.8949 MB / 0.6675 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.531, allocations: 2.497 MB / 0.67 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004456/0.5354, allocations: 1.52 MB / 0.6715 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02907/0.5645, allocations: 21.25 MB / 0.6922 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.5852, allocations: 10.68 MB / 0.7026 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01687/0.6021, allocations: 7.136 MB / 0.7096 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.6145, allocations: 6.357 MB / 0.7158 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002997/0.6175, allocations: 0.9375 MB / 0.7167 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006868/0.6244, allocations: 1.698 MB / 0.7184 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004113/0.6285, allocations: 2.345 MB / 0.7207 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00978/0.6383, allocations: 4.707 MB / 0.7253 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.6566, allocations: 13.71 MB / 0.7387 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6566, allocations: 4 kB / 0.7387 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.108e-06/0.6566, allocations: 0 / 0.7387 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005182/0.6572, allocations: 3.938 kB / 0.7387 GB, free: 9.641 MB / 0.5606 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.02485/0.682, allocations: 8.523 MB / 0.747 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.6821, allocations: 12.03 kB / 0.747 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003247/0.6854, allocations: 0.8422 MB / 0.7478 GB, free: 164 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/0.6902, allocations: 0.8625 MB / 0.7487 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.7037, allocations: 6.44 MB / 0.755 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.7043, allocations: 468.2 kB / 0.7554 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.7067, allocations: 0.5898 MB / 0.756 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.7303, allocations: 9.028 MB / 0.7648 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002843/0.7306, allocations: 19.78 kB / 0.7648 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/0.7326, allocations: 264 kB / 0.7651 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002182/0.7328, allocations: 179.9 kB / 0.7652 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.7489, allocations: 7.445 MB / 0.7725 GB, free: 6.48 MB / 0.5919 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.05398/0.8029, allocations: 36.28 MB / 0.8079 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/0.81, allocations: 4.28 MB / 0.8121 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/0.8151, allocations: 3.324 MB / 0.8154 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.8165, allocations: 0.9544 MB / 0.8163 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004451/0.821, allocations: 2.387 MB / 0.8186 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002735/0.8238, allocations: 363.9 kB / 0.819 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.39e-05/0.8238, allocations: 0 / 0.819 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01402/0.8378, allocations: 7.137 MB / 0.826 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.8379, allocations: 89.91 kB / 0.826 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.8489, allocations: 5.662 MB / 0.8316 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007322/0.8497, allocations: 89.7 kB / 0.8317 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003426/0.8531, allocations: 3.192 MB / 0.8348 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001785/0.8549, allocations: 1.113 MB / 0.8359 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002528/0.8575, allocations: 0.8541 MB / 0.8367 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8576, allocations: 309.1 kB / 0.837 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/0.8614, allocations: 2.16 MB / 0.8391 GB, free: 15.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004753/0.8662, allocations: 3.701 MB / 0.8427 GB, free: 11.46 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008832/0.875, allocations: 6.315 MB / 0.8489 GB, free: 4.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.263e-05/0.8751, allocations: 16 kB / 0.8489 GB, free: 4.414 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.5469/1.422, allocations: 6.776 MB / 0.8555 GB, free: 189.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/1.422, allocations: 59.12 kB / 0.8556 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-05/1.422, allocations: 48.66 kB / 0.8556 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009044/1.423, allocations: 431.7 kB / 0.856 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/1.427, allocations: 1.006 MB / 0.857 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/1.432, allocations: 5.701 MB / 0.8626 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/1.437, allocations: 286.7 kB / 0.8628 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/1.437, allocations: 218.7 kB / 0.8631 GB, free: 186.9 MB / 0.67 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.003807/1.441, allocations: 2.479 MB / 0.8655 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.442, allocations: 0.525 MB / 0.866 GB, free: 186.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007438/1.45, allocations: 5.272 MB / 0.8711 GB, free: 184.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/1.45, allocations: 33.53 kB / 0.8712 GB, free: 184.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.45, allocations: 5.719 kB / 0.8712 GB, free: 184.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005313/1.455, allocations: 4.538 MB / 0.8756 GB, free: 182.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/1.475, allocations: 12.05 MB / 0.8874 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.475, allocations: 1.469 kB / 0.8874 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/1.478, allocations: 0.6419 MB / 0.888 GB, free: 177.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/1.479, allocations: 375.9 kB / 0.8884 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/1.479, allocations: 83.86 kB / 0.8884 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/1.484, allocations: 5.622 MB / 0.8939 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.484, allocations: 1.156 kB / 0.8939 GB, free: 173.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.496, allocations: 7.759 MB / 0.9015 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003219/1.499, allocations: 1.156 MB / 0.9026 GB, free: 170.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009698/1.5, allocations: 77.28 kB / 0.9027 GB, free: 170.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/1.504, allocations: 205.8 kB / 0.9029 GB, free: 170.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005563/1.504, allocations: 199.7 kB / 0.9031 GB, free: 170.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004453/1.505, allocations: 138.7 kB / 0.9032 GB, free: 170 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007788/1.512, allocations: 3.963 MB / 0.9071 GB, free: 168.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.512, allocations: 0 / 0.9071 GB, free: 168.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006815/1.519, allocations: 2.006 MB / 0.9091 GB, free: 168.4 MB / 0.67 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.0154/1.535, allocations: 8.72 MB / 0.9176 GB, free: 164.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02151/1.556, allocations: 11.64 MB / 0.9289 GB, free: 162.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.556, allocations: 4 kB / 0.9289 GB, free: 162.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/1.56, allocations: 2.541 MB / 0.9314 GB, free: 160.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/1.578, allocations: 3.406 MB / 0.9348 GB, free: 157.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09032/1.668, allocations: 64.74 MB / 0.998 GB, free: 89.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005516/1.673, allocations: 4.634 MB / 1.002 GB, free: 84.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007683/1.681, allocations: 2.084 MB / 1.005 GB, free: 82.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004415/1.686, allocations: 2.678 MB / 1.007 GB, free: 80.13 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.686, allocations: 0 / 1.007 GB, free: 80.13 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5445/2.23, allocations: 166 MB / 1.169 GB, free: 206.9 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/15.1, allocations: 2.562 kB / 1.169 GB, free: 206.9 MB / 0.7013 GB (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)