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.001079/0.001079, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001125/0.001125, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.52 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 0.9422/0.9422, allocations: 143 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 82.05 MB / 0.5939 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3091/0.4684, allocations: 55.5 MB / 0.6481 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.4878, allocations: 17.82 MB / 0.6655 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.4916, allocations: 70.41 kB / 0.6656 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.4942, allocations: 0.7552 MB / 0.6663 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007276/0.5014, allocations: 2.328 MB / 0.6686 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.5054, allocations: 1.392 MB / 0.6699 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02153/0.527, allocations: 21.36 MB / 0.6908 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.5413, allocations: 10.58 MB / 0.7011 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01726/0.5587, allocations: 7.223 MB / 0.7082 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.571, allocations: 6.551 MB / 0.7146 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002844/0.5739, allocations: 0.9374 MB / 0.7155 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006419/0.5803, allocations: 1.694 MB / 0.7172 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/0.5833, allocations: 2.322 MB / 0.7194 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007779/0.5911, allocations: 4.696 MB / 0.724 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.6053, allocations: 13.67 MB / 0.7374 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.6054, allocations: 0 / 0.7374 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6054, allocations: 0 / 0.7374 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004202/0.6058, allocations: 0 / 0.7374 GB, free: 10.88 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.01954/0.6254, allocations: 8.515 MB / 0.7457 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6254, allocations: 8.031 kB / 0.7457 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001457/0.6269, allocations: 0.8461 MB / 0.7465 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.6296, allocations: 0.8586 MB / 0.7473 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.6421, allocations: 6.642 MB / 0.7538 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.6425, allocations: 460.2 kB / 0.7543 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.6441, allocations: 0.5975 MB / 0.7549 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.6606, allocations: 9.032 MB / 0.7637 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.6607, allocations: 19.86 kB / 0.7637 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006667/0.6614, allocations: 256 kB / 0.7639 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.6616, allocations: 180 kB / 0.7641 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.6747, allocations: 7.449 MB / 0.7714 GB, free: 7.531 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.05119/0.7259, allocations: 35.93 MB / 0.8065 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006656/0.7326, allocations: 4.275 MB / 0.8106 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/0.7375, allocations: 3.304 MB / 0.8139 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.7388, allocations: 0.9583 MB / 0.8148 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004123/0.743, allocations: 2.386 MB / 0.8171 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002897/0.7459, allocations: 411.8 kB / 0.8175 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.627e-05/0.7459, allocations: 3.938 kB / 0.8175 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01303/0.759, allocations: 7.133 MB / 0.8245 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.7591, allocations: 85.91 kB / 0.8246 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/0.7677, allocations: 5.459 MB / 0.8299 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005947/0.7683, allocations: 85.7 kB / 0.83 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002713/0.771, allocations: 3.204 MB / 0.8331 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/0.7725, allocations: 1.117 MB / 0.8342 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.7737, allocations: 0.8503 MB / 0.835 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.7738, allocations: 309.1 kB / 0.8353 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.777, allocations: 2.16 MB / 0.8375 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.7811, allocations: 3.701 MB / 0.8411 GB, free: 13.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/0.789, allocations: 6.319 MB / 0.8472 GB, free: 5.984 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/0.7891, allocations: 16 kB / 0.8473 GB, free: 5.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.4656/1.255, allocations: 6.77 MB / 0.8539 GB, free: 189.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/1.255, allocations: 52.11 kB / 0.8539 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.373e-05/1.255, allocations: 50.52 kB / 0.854 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008611/1.256, allocations: 439.6 kB / 0.8544 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/1.259, allocations: 1.007 MB / 0.8554 GB, free: 189.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.264, allocations: 5.697 MB / 0.8609 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004843/1.269, allocations: 466.5 kB / 0.8614 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004441/1.269, allocations: 218.9 kB / 0.8616 GB, free: 186.2 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.003452/1.273, allocations: 2.478 MB / 0.864 GB, free: 186.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.274, allocations: 0.5298 MB / 0.8645 GB, free: 186.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/1.281, allocations: 5.276 MB / 0.8697 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/1.281, allocations: 34.5 kB / 0.8697 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.281, allocations: 3 kB / 0.8697 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005214/1.286, allocations: 4.534 MB / 0.8741 GB, free: 182.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.303, allocations: 11.96 MB / 0.8858 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.303, allocations: 1.25 kB / 0.8858 GB, free: 177.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.306, allocations: 0.6484 MB / 0.8864 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000771/1.307, allocations: 375 kB / 0.8868 GB, free: 177.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.307, allocations: 84.44 kB / 0.8869 GB, free: 177.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/1.312, allocations: 5.615 MB / 0.8924 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.312, allocations: 9.641 kB / 0.8924 GB, free: 173.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.323, allocations: 7.769 MB / 0.9 GB, free: 170.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/1.326, allocations: 1.139 MB / 0.9011 GB, free: 170 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009325/1.327, allocations: 73.19 kB / 0.9011 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/1.33, allocations: 453.9 kB / 0.9016 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.331, allocations: 203.5 kB / 0.9018 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003303/1.331, allocations: 137.1 kB / 0.9019 GB, free: 169.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005571/1.337, allocations: 3.808 MB / 0.9056 GB, free: 168.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.9e-07/1.337, allocations: 0 / 0.9056 GB, free: 168.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006485/1.343, allocations: 1.994 MB / 0.9076 GB, free: 168.2 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.01225/1.356, allocations: 8.706 MB / 0.9161 GB, free: 164.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02001/1.376, allocations: 11.63 MB / 0.9274 GB, free: 162.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.376, allocations: 7.219 kB / 0.9274 GB, free: 162.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/1.379, allocations: 2.545 MB / 0.9299 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/1.392, allocations: 3.397 MB / 0.9332 GB, free: 159.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1331/1.525, allocations: 65.64 MB / 0.9973 GB, free: 90.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/1.529, allocations: 4.624 MB / 1.002 GB, free: 85.55 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006156/1.536, allocations: 2.036 MB / 1.004 GB, free: 83.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003418/1.539, allocations: 2.675 MB / 1.006 GB, free: 80.86 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/1.539, allocations: 0 / 1.006 GB, free: 80.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4491/1.988, allocations: 163.4 MB / 1.166 GB, free: 207.7 MB / 0.7013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/1.988, allocations: 285.9 kB / 1.166 GB, free: 207.3 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.99/6.978, allocations: 0 / 1.166 GB, free: 207.3 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)