Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_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.002783/0.002783, 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.002498/0.002498, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.335/2.335, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.07/5.07, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 64.78 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5841, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06573/0.6499, allocations: 55.54 MB / 1.107 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02616/0.6761, allocations: 17.8 MB / 1.124 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003584/0.6798, allocations: 71.56 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.6831, allocations: 0.7575 MB / 1.125 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008599/0.6917, allocations: 2.321 MB / 1.127 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.6965, allocations: 1.401 MB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02848/0.725, allocations: 21.36 MB / 1.149 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01753/0.7426, allocations: 10.57 MB / 1.16 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02013/0.7628, allocations: 7.211 MB / 1.167 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01415/0.777, allocations: 6.553 MB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00544/0.7825, allocations: 0.9297 MB / 1.174 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00942/0.7919, allocations: 1.698 MB / 1.176 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005407/0.7974, allocations: 2.322 MB / 1.178 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01333/0.8108, allocations: 4.696 MB / 1.183 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02423/0.8351, allocations: 13 MB / 1.195 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.8351, allocations: 0 / 1.195 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8352, allocations: 0 / 1.195 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0006283/0.8358, allocations: 4 kB / 1.195 GB, free: 5.957 MB / 0.9512 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.03172/0.8675, allocations: 8.508 MB / 1.204 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001125/0.8677, allocations: 8.625 kB / 1.204 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004464/0.8721, allocations: 0.8461 MB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005833/0.878, allocations: 0.8547 MB / 1.205 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/0.8956, allocations: 6.614 MB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005003/0.8961, allocations: 460.2 kB / 1.212 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.8985, allocations: 0.5975 MB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/0.9197, allocations: 9.017 MB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.9199, allocations: 27.77 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007946/0.9207, allocations: 260 kB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.9209, allocations: 179.9 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/0.9362, allocations: 7.453 MB / 1.229 GB, free: 2.648 MB / 0.9825 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 1.699/2.635, allocations: 35.9 MB / 1.264 GB, free: 160.5 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/2.643, allocations: 4.271 MB / 1.268 GB, free: 160.4 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006193/2.649, allocations: 3.311 MB / 1.272 GB, free: 160.4 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/2.65, allocations: 0.9587 MB / 1.273 GB, free: 159.4 MB / 0.9982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004944/2.655, allocations: 2.384 MB / 1.275 GB, free: 159.3 MB / 0.9982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003432/2.659, allocations: 404.7 kB / 1.275 GB, free: 159.3 MB / 0.9982 GB Notification: Performance of pre-optimization done (n=317): time 8.827e-06/2.659, allocations: 0 / 1.275 GB, free: 159.3 MB / 0.9982 GB Notification: Performance of matching and sorting (n=317): time 0.01453/2.673, allocations: 7.145 MB / 1.282 GB, free: 157.8 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/2.673, allocations: 84.38 kB / 1.282 GB, free: 157.7 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/2.684, allocations: 5.464 MB / 1.288 GB, free: 156 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/2.685, allocations: 87.05 kB / 1.288 GB, free: 155.9 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003127/2.689, allocations: 3.2 MB / 1.291 GB, free: 153.5 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/2.69, allocations: 1.115 MB / 1.292 GB, free: 152.6 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/2.692, allocations: 0.856 MB / 1.293 GB, free: 152.2 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/2.692, allocations: 305.1 kB / 1.293 GB, free: 151.9 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/2.695, allocations: 2.168 MB / 1.295 GB, free: 151 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/2.699, allocations: 3.697 MB / 1.299 GB, free: 147.9 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007927/2.707, allocations: 6.317 MB / 1.305 GB, free: 143.3 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.141e-05/2.707, allocations: 14 kB / 1.305 GB, free: 143.3 MB / 0.9982 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01087/2.718, allocations: 6.791 MB / 1.312 GB, free: 139.8 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/2.718, allocations: 52.2 kB / 1.312 GB, free: 139.8 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.542e-05/2.718, allocations: 49.38 kB / 1.312 GB, free: 139.8 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/2.719, allocations: 432.5 kB / 1.312 GB, free: 139.6 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/2.723, allocations: 1.009 MB / 1.313 GB, free: 139.3 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/2.728, allocations: 5.7 MB / 1.319 GB, free: 134.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/2.734, allocations: 468.1 kB / 1.319 GB, free: 134.4 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008439/2.735, allocations: 217.1 kB / 1.319 GB, free: 134.3 MB / 0.9982 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.004534/2.74, allocations: 2.485 MB / 1.322 GB, free: 132.6 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/2.741, allocations: 0.5287 MB / 1.322 GB, free: 132 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007712/2.749, allocations: 5.255 MB / 1.327 GB, free: 126.7 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/2.749, allocations: 40.91 kB / 1.328 GB, free: 126.7 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.749, allocations: 4 kB / 1.328 GB, free: 126.7 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00525/2.754, allocations: 4.533 MB / 1.332 GB, free: 122.1 MB / 0.9982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/2.776, allocations: 11.96 MB / 1.344 GB, free: 110 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/2.776, allocations: 4 kB / 1.344 GB, free: 110 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/2.778, allocations: 0.6437 MB / 1.344 GB, free: 109.3 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/2.779, allocations: 365.4 kB / 1.345 GB, free: 109 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/2.779, allocations: 83.95 kB / 1.345 GB, free: 108.9 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/2.783, allocations: 5.633 MB / 1.35 GB, free: 103 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.783, allocations: 0 / 1.35 GB, free: 103 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/2.793, allocations: 7.761 MB / 1.358 GB, free: 95.16 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/2.796, allocations: 1.135 MB / 1.359 GB, free: 94 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.797, allocations: 69.95 kB / 1.359 GB, free: 93.93 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003866/2.801, allocations: 458.8 kB / 1.359 GB, free: 93.49 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/2.801, allocations: 205.8 kB / 1.36 GB, free: 93.29 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/2.802, allocations: 139.9 kB / 1.36 GB, free: 93.15 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.005779/2.808, allocations: 3.807 MB / 1.363 GB, free: 89.37 MB / 0.9982 GB Notification: Performance of sort global known variables: time 3.61e-07/2.808, allocations: 0 / 1.363 GB, free: 89.37 MB / 0.9982 GB Notification: Performance of remove unused functions: time 0.006747/2.814, allocations: 1.994 MB / 1.365 GB, free: 87.39 MB / 0.9982 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.01197/2.826, allocations: 8.697 MB / 1.374 GB, free: 78.63 MB / 0.9982 GB Notification: Performance of simCode: created initialization part: time 0.01906/2.845, allocations: 11.62 MB / 1.385 GB, free: 67 MB / 0.9982 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/2.846, allocations: 4.438 kB / 1.385 GB, free: 66.99 MB / 0.9982 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/2.849, allocations: 2.555 MB / 1.388 GB, free: 64.41 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/2.864, allocations: 3.4 MB / 1.391 GB, free: 61.18 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.198/3.062, allocations: 65.65 MB / 1.455 GB, free: 5.777 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/3.076, allocations: 4.628 MB / 1.46 GB, free: 1.113 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.01608/3.092, allocations: 2.023 MB / 1.462 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01033/3.102, allocations: 2.674 MB / 1.464 GB, free: 12.42 MB / 1.029 GB Notification: Performance of SimCode: time 1.543e-06/3.102, allocations: 0 / 1.464 GB, free: 12.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.036/6.138, allocations: 163.1 MB / 1.624 GB, free: 10.58 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005303/6.139, allocations: 285.4 kB / 1.624 GB, free: 10.2 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/20.3, allocations: 7.875 kB / 1.624 GB, free: 10.19 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)