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.001152/0.001152, 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.00142/0.00142, allocations: 194.3 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.03/1.03, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1452, allocations: 82.05 MB / 0.5944 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2942/0.4394, allocations: 55.97 MB / 0.6491 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.4627, allocations: 17.96 MB / 0.6666 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00454/0.4673, allocations: 74.47 kB / 0.6667 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.4709, allocations: 0.8942 MB / 0.6675 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00843/0.4794, allocations: 2.497 MB / 0.67 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004741/0.4841, allocations: 1.527 MB / 0.6715 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02474/0.5089, allocations: 21.25 MB / 0.6922 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.5267, allocations: 10.68 MB / 0.7026 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01819/0.545, allocations: 7.144 MB / 0.7096 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.557, allocations: 6.365 MB / 0.7158 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003334/0.5604, allocations: 0.9375 MB / 0.7168 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007608/0.568, allocations: 1.694 MB / 0.7184 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004159/0.5722, allocations: 2.341 MB / 0.7207 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.584, allocations: 4.707 MB / 0.7253 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.6022, allocations: 13.71 MB / 0.7387 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.6022, allocations: 0 / 0.7387 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6022, allocations: 0 / 0.7387 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005036/0.6027, allocations: 0 / 0.7387 GB, free: 9.477 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.02462/0.6274, allocations: 8.536 MB / 0.747 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6274, allocations: 12.03 kB / 0.747 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002708/0.6302, allocations: 0.8383 MB / 0.7478 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/0.6342, allocations: 0.8586 MB / 0.7487 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.648, allocations: 6.444 MB / 0.755 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/0.6485, allocations: 464.2 kB / 0.7554 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.651, allocations: 0.5936 MB / 0.756 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.6716, allocations: 9.024 MB / 0.7648 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.6719, allocations: 31.77 kB / 0.7648 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/0.6736, allocations: 264 kB / 0.7651 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.6738, allocations: 176 kB / 0.7653 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.6894, allocations: 7.453 MB / 0.7725 GB, free: 6.297 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.05077/0.7402, allocations: 36.27 MB / 0.808 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/0.7476, allocations: 4.279 MB / 0.8121 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/0.7528, allocations: 3.312 MB / 0.8154 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.7543, allocations: 0.9544 MB / 0.8163 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004901/0.7593, allocations: 2.391 MB / 0.8186 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003235/0.7625, allocations: 367.9 kB / 0.819 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.358e-05/0.7626, allocations: 0 / 0.819 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01585/0.7784, allocations: 7.13 MB / 0.826 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/0.7786, allocations: 89.84 kB / 0.826 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/0.7898, allocations: 5.662 MB / 0.8316 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007061/0.7905, allocations: 93.7 kB / 0.8317 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.7938, allocations: 3.196 MB / 0.8348 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001596/0.7954, allocations: 1.117 MB / 0.8359 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.7973, allocations: 0.8541 MB / 0.8367 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.7974, allocations: 309 kB / 0.837 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.8009, allocations: 2.163 MB / 0.8391 GB, free: 15.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/0.8053, allocations: 3.689 MB / 0.8427 GB, free: 11.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008095/0.8134, allocations: 6.323 MB / 0.8489 GB, free: 4.254 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.641e-05/0.8135, allocations: 16 kB / 0.8489 GB, free: 4.238 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.527/1.34, allocations: 6.774 MB / 0.8555 GB, free: 189.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/1.341, allocations: 51.92 kB / 0.8556 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.492e-05/1.341, allocations: 50.86 kB / 0.8556 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/1.342, allocations: 429.7 kB / 0.856 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.346, allocations: 1.009 MB / 0.857 GB, free: 189.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/1.351, allocations: 5.699 MB / 0.8626 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.356, allocations: 286 kB / 0.8629 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007513/1.357, allocations: 218 kB / 0.8631 GB, free: 186.6 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.004026/1.361, allocations: 2.477 MB / 0.8655 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.362, allocations: 0.5263 MB / 0.866 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007897/1.37, allocations: 5.276 MB / 0.8711 GB, free: 184.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.37, allocations: 31.22 kB / 0.8712 GB, free: 184.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.37, allocations: 3.25 kB / 0.8712 GB, free: 184.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00554/1.376, allocations: 4.533 MB / 0.8756 GB, free: 182.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.397, allocations: 12.05 MB / 0.8874 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.397, allocations: 8.156 kB / 0.8874 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/1.4, allocations: 0.6446 MB / 0.888 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008194/1.401, allocations: 377.5 kB / 0.8884 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/1.401, allocations: 84.66 kB / 0.8885 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00488/1.406, allocations: 5.618 MB / 0.8939 GB, free: 173.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.406, allocations: 1.25 kB / 0.8939 GB, free: 173.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.418, allocations: 7.763 MB / 0.9015 GB, free: 170.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/1.421, allocations: 1.157 MB / 0.9027 GB, free: 170.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.422, allocations: 72.8 kB / 0.9027 GB, free: 170 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/1.426, allocations: 196.9 kB / 0.9029 GB, free: 170 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/1.426, allocations: 200 kB / 0.9031 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/1.426, allocations: 143.3 kB / 0.9032 GB, free: 169.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007036/1.433, allocations: 3.961 MB / 0.9071 GB, free: 168.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.434, allocations: 1.219 kB / 0.9071 GB, free: 168.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006557/1.44, allocations: 2.003 MB / 0.9091 GB, free: 168.3 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.01251/1.453, allocations: 8.726 MB / 0.9176 GB, free: 164.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01864/1.471, allocations: 11.64 MB / 0.9289 GB, free: 162.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.471, allocations: 0 / 0.9289 GB, free: 162.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003515/1.475, allocations: 2.547 MB / 0.9314 GB, free: 160.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01669/1.492, allocations: 3.4 MB / 0.9348 GB, free: 157.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08284/1.574, allocations: 64.75 MB / 0.998 GB, free: 89.26 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00592/1.58, allocations: 4.63 MB / 1.003 GB, free: 84.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008914/1.589, allocations: 2.085 MB / 1.005 GB, free: 82.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005504/1.595, allocations: 2.682 MB / 1.007 GB, free: 79.85 MB / 0.67 GB Notification: Performance of SimCode: time 3.226e-06/1.595, allocations: 0 / 1.007 GB, free: 79.85 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6585/2.253, allocations: 166 MB / 1.169 GB, free: 206.4 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/18.98, allocations: 3.5 kB / 1.169 GB, free: 206.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)