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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.006826/0.006826, allocations: 97.02 kB / 15.73 MB, free: 6.062 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.001664/0.001664, allocations: 198.9 kB / 16.68 MB, free: 5.98 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.019/1.019, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.91 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3801, allocations: 82.03 MB / 0.6754 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05949/0.4396, allocations: 56 MB / 0.7301 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.4646, allocations: 17.96 MB / 0.7476 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.4672, allocations: 79.56 kB / 0.7477 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.4698, allocations: 0.8924 MB / 0.7486 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/0.4766, allocations: 2.499 MB / 0.751 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.4808, allocations: 1.538 MB / 0.7525 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02364/0.5044, allocations: 21.25 MB / 0.7733 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.5187, allocations: 10.69 MB / 0.7837 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.5328, allocations: 7.158 MB / 0.7907 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.5436, allocations: 6.362 MB / 0.7969 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002668/0.5463, allocations: 0.9414 MB / 0.7978 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007287/0.5536, allocations: 1.698 MB / 0.7995 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004101/0.5577, allocations: 2.333 MB / 0.8018 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008118/0.5659, allocations: 4.707 MB / 0.8064 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.5824, allocations: 13.91 MB / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5825, allocations: 0 / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5825, allocations: 0 / 0.8199 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004106/0.5829, allocations: 0 / 0.8199 GB, free: 1.684 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.02276/0.6057, allocations: 8.737 MB / 0.8285 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6057, allocations: 8.031 kB / 0.8285 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00204/0.6078, allocations: 0.8461 MB / 0.8293 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/0.611, allocations: 0.8942 MB / 0.8302 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.6258, allocations: 6.754 MB / 0.8368 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/0.6262, allocations: 464.2 kB / 0.8372 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.6281, allocations: 0.5975 MB / 0.8378 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.6533, allocations: 9.024 MB / 0.8466 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.6536, allocations: 27.77 kB / 0.8466 GB, free: 5.836 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/0.6549, allocations: 264 kB / 0.8469 GB, free: 5.578 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/0.6552, allocations: 180 kB / 0.8471 GB, free: 5.402 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02034/0.6755, allocations: 7.449 MB / 0.8543 GB, free: 13.94 MB / 0.6856 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.3716/1.047, allocations: 36.08 MB / 0.8896 GB, free: 149.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/1.053, allocations: 4.28 MB / 0.8937 GB, free: 147.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/1.057, allocations: 3.301 MB / 0.897 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.058, allocations: 0.9566 MB / 0.8979 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003093/1.061, allocations: 2.39 MB / 0.9002 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002046/1.063, allocations: 381.4 kB / 0.9006 GB, free: 143 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 6.923e-06/1.063, allocations: 0.6562 kB / 0.9006 GB, free: 143 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01071/1.074, allocations: 7.159 MB / 0.9076 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/1.074, allocations: 93.31 kB / 0.9077 GB, free: 139.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007221/1.081, allocations: 5.667 MB / 0.9132 GB, free: 136.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008356/1.082, allocations: 85.52 kB / 0.9133 GB, free: 136.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.085, allocations: 3.275 MB / 0.9165 GB, free: 133.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.086, allocations: 1.173 MB / 0.9176 GB, free: 132.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.087, allocations: 0.8648 MB / 0.9185 GB, free: 132.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/1.087, allocations: 305 kB / 0.9188 GB, free: 132.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/1.09, allocations: 2.163 MB / 0.9209 GB, free: 131 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.093, allocations: 3.695 MB / 0.9245 GB, free: 126.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006025/1.099, allocations: 6.323 MB / 0.9307 GB, free: 119.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/1.099, allocations: 12 kB / 0.9307 GB, free: 119.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009153/1.108, allocations: 6.804 MB / 0.9373 GB, free: 112.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/1.108, allocations: 53.7 kB / 0.9374 GB, free: 112.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/1.108, allocations: 51.98 kB / 0.9374 GB, free: 112.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008425/1.109, allocations: 434.6 kB / 0.9378 GB, free: 112.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.112, allocations: 1.01 MB / 0.9388 GB, free: 111.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/1.117, allocations: 5.699 MB / 0.9444 GB, free: 105.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/1.121, allocations: 284.1 kB / 0.9447 GB, free: 105.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/1.121, allocations: 220 kB / 0.9449 GB, free: 104.9 MB / 0.6856 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.003579/1.125, allocations: 2.483 MB / 0.9473 GB, free: 102.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.126, allocations: 0.5512 MB / 0.9478 GB, free: 101.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.133, allocations: 5.263 MB / 0.953 GB, free: 96.56 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.133, allocations: 36 kB / 0.953 GB, free: 96.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.133, allocations: 7.938 kB / 0.953 GB, free: 96.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005276/1.139, allocations: 4.537 MB / 0.9575 GB, free: 91.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.156, allocations: 12 MB / 0.9692 GB, free: 79.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.156, allocations: 0 / 0.9692 GB, free: 79.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002565/1.159, allocations: 0.6438 MB / 0.9698 GB, free: 79.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/1.16, allocations: 367.4 kB / 0.9701 GB, free: 78.81 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.16, allocations: 91.89 kB / 0.9702 GB, free: 78.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004189/1.164, allocations: 5.617 MB / 0.9757 GB, free: 72.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.164, allocations: 10.67 kB / 0.9757 GB, free: 72.85 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/1.173, allocations: 7.782 MB / 0.9833 GB, free: 64.97 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002631/1.176, allocations: 1.187 MB / 0.9845 GB, free: 63.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008615/1.177, allocations: 67.98 kB / 0.9846 GB, free: 63.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.18, allocations: 193.8 kB / 0.9847 GB, free: 63.51 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.18, allocations: 198.2 kB / 0.9849 GB, free: 63.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.18, allocations: 143.9 kB / 0.9851 GB, free: 63.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004739/1.185, allocations: 3.959 MB / 0.9889 GB, free: 59.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.185, allocations: 0 / 0.9889 GB, free: 59.24 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004968/1.19, allocations: 2.027 MB / 0.9909 GB, free: 57.35 MB / 0.6856 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.01002/1.2, allocations: 8.755 MB / 0.9995 GB, free: 48.56 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006731/1.207, allocations: 5.441 MB / 1.005 GB, free: 43.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.207, allocations: 7.844 kB / 1.005 GB, free: 43.06 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.21, allocations: 2.541 MB / 1.007 GB, free: 40.49 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/1.223, allocations: 3.394 MB / 1.011 GB, free: 37.19 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07181/1.295, allocations: 52.56 MB / 1.062 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004938/1.3, allocations: 4.632 MB / 1.066 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006136/1.306, allocations: 2.078 MB / 1.068 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004454/1.311, allocations: 2.678 MB / 1.071 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/1.311, allocations: 0 / 1.071 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.569/1.88, allocations: 160.3 MB / 1.228 GB, free: 249 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.74/22.62, allocations: 11.34 kB / 1.228 GB, free: 249 MB / 0.8106 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)