Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_10_Buildings_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.0009099/0.00091, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005074/0.005074, allocations: 170.4 kB / 16.27 MB, free: 6.32 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.308/2.308, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 8 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.504, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04577/0.5498, allocations: 54.55 MB / 1.076 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.5685, allocations: 17.73 MB / 1.094 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.5703, allocations: 67.56 kB / 1.094 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.5722, allocations: 0.7185 MB / 1.094 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005153/0.5773, allocations: 2.325 MB / 1.097 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5803, allocations: 1.387 MB / 1.098 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02232/0.6026, allocations: 27.8 MB / 1.125 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00959/0.6122, allocations: 8.417 MB / 1.133 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/0.6193, allocations: 5.209 MB / 1.139 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006975/0.6263, allocations: 5.783 MB / 1.144 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000662/0.627, allocations: 348 kB / 1.145 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.6295, allocations: 1.033 MB / 1.146 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.6307, allocations: 1.587 MB / 1.147 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003676/0.6344, allocations: 3.893 MB / 1.151 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008956/0.6434, allocations: 12.29 MB / 1.163 GB, free: 148 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.6434, allocations: 4 kB / 1.163 GB, free: 144 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6434, allocations: 4 kB / 1.163 GB, free: 140 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001418/0.6435, allocations: 0 / 1.163 GB, free: 140 kB / 0.9044 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.01043/0.654, allocations: 6.874 MB / 1.17 GB, free: 9.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.654, allocations: 16.03 kB / 1.17 GB, free: 9.156 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009496/0.655, allocations: 0.8383 MB / 1.17 GB, free: 8.309 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.6568, allocations: 0.8509 MB / 1.171 GB, free: 7.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/0.665, allocations: 6.621 MB / 1.178 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.6652, allocations: 464.2 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007635/0.666, allocations: 0.5937 MB / 1.179 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.6775, allocations: 9.04 MB / 1.188 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.6776, allocations: 19.78 kB / 1.188 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005277/0.6781, allocations: 268 kB / 1.188 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.6782, allocations: 184 kB / 1.188 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009817/0.6881, allocations: 7.457 MB / 1.195 GB, free: 14.43 MB / 0.9512 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.03201/0.7201, allocations: 35.98 MB / 1.23 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.7252, allocations: 4.281 MB / 1.235 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003902/0.7291, allocations: 3.336 MB / 1.238 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.7302, allocations: 0.9778 MB / 1.239 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003028/0.7332, allocations: 2.402 MB / 1.241 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001578/0.7348, allocations: 443.8 kB / 1.242 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 4.248e-06/0.7348, allocations: 0 / 1.242 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01016/0.745, allocations: 7.14 MB / 1.249 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.7451, allocations: 85.91 kB / 1.249 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4126/1.158, allocations: 5.462 MB / 1.254 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006794/1.158, allocations: 88.7 kB / 1.254 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003018/1.161, allocations: 3.198 MB / 1.257 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.163, allocations: 1.111 MB / 1.258 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/1.163, allocations: 362.1 kB / 1.259 GB, free: 208.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.551e-05/1.163, allocations: 306.8 kB / 1.259 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/1.167, allocations: 2.16 MB / 1.261 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/1.171, allocations: 3.696 MB / 1.265 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007768/1.178, allocations: 6.311 MB / 1.271 GB, free: 201 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-05/1.178, allocations: 13.47 kB / 1.271 GB, free: 201 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009873/1.188, allocations: 6.761 MB / 1.277 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/1.188, allocations: 56.27 kB / 1.278 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.353e-05/1.188, allocations: 49.75 kB / 1.278 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008951/1.189, allocations: 431.1 kB / 1.278 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.193, allocations: 1.016 MB / 1.279 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/1.197, allocations: 5.263 MB / 1.284 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/1.201, allocations: 475.7 kB / 1.285 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.202, allocations: 218.2 kB / 1.285 GB, free: 194.2 MB / 0.9981 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.00295/1.205, allocations: 2.48 MB / 1.287 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/1.205, allocations: 0.5292 MB / 1.288 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006594/1.212, allocations: 5.251 MB / 1.293 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/1.212, allocations: 37.02 kB / 1.293 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.212, allocations: 3.844 kB / 1.293 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004824/1.217, allocations: 4.529 MB / 1.297 GB, free: 189 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.01416/1.231, allocations: 11.99 MB / 1.309 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.231, allocations: 7.797 kB / 1.309 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.233, allocations: 0.6516 MB / 1.31 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006289/1.234, allocations: 375 kB / 1.31 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.234, allocations: 83.95 kB / 1.31 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/1.238, allocations: 5.179 MB / 1.315 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.238, allocations: 4.062 kB / 1.315 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007829/1.246, allocations: 7.627 MB / 1.323 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.248, allocations: 1.221 MB / 1.324 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007955/1.248, allocations: 63.98 kB / 1.324 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/1.252, allocations: 464.9 kB / 1.324 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/1.252, allocations: 206.1 kB / 1.324 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/1.252, allocations: 143.9 kB / 1.325 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004645/1.257, allocations: 3.803 MB / 1.328 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.257, allocations: 0 / 1.328 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00438/1.262, allocations: 1.99 MB / 1.33 GB, free: 158.4 MB / 0.9981 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.008983/1.271, allocations: 8.576 MB / 1.339 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006194/1.277, allocations: 5.388 MB / 1.344 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.277, allocations: 4 kB / 1.344 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/1.279, allocations: 2.51 MB / 1.346 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/1.292, allocations: 3.229 MB / 1.35 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/1.401, allocations: 65.72 MB / 1.414 GB, free: 67.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/1.404, allocations: 4.624 MB / 1.418 GB, free: 62.56 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00489/1.409, allocations: 1.992 MB / 1.42 GB, free: 60.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/1.411, allocations: 2.667 MB / 1.423 GB, free: 57.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.411, allocations: 4 kB / 1.423 GB, free: 57.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.705/5.116, allocations: 158 MB / 1.577 GB, free: 13.14 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/5.117, allocations: 282.8 kB / 1.577 GB, free: 12.76 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.451/10.57, allocations: 0 / 1.577 GB, free: 12.76 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)