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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(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.001432/0.001432, allocations: 108.6 kB / 15.73 MB, free: 76 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.001378/0.001378, allocations: 191 kB / 16.66 MB, free: 6.59 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.531/2.531, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 75.88 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2632, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5207/0.7839, allocations: 56.08 MB / 1.297 GB, free: 11.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.8057, allocations: 17.95 MB / 1.314 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.8079, allocations: 74.59 kB / 1.314 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.8099, allocations: 0.8983 MB / 1.315 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.8153, allocations: 2.486 MB / 1.318 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.8186, allocations: 1.532 MB / 1.319 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02036/0.839, allocations: 21.29 MB / 1.34 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.8512, allocations: 10.68 MB / 1.35 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.8646, allocations: 7.341 MB / 1.357 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.8747, allocations: 6.287 MB / 1.364 GB, free: 5.609 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.8762, allocations: 0.9404 MB / 1.364 GB, free: 5.605 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.8811, allocations: 1.701 MB / 1.366 GB, free: 5.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.8833, allocations: 2.345 MB / 1.368 GB, free: 3.383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006855/0.8902, allocations: 4.724 MB / 1.373 GB, free: 252 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.9046, allocations: 13.25 MB / 1.386 GB, free: 3.883 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9047, allocations: 3.938 kB / 1.386 GB, free: 3.879 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9047, allocations: 0 / 1.386 GB, free: 3.879 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002758/0.905, allocations: 0 / 1.386 GB, free: 3.879 MB / 1.076 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.0148/0.9198, allocations: 8.717 MB / 1.394 GB, free: 11.06 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9198, allocations: 16.03 kB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/0.9209, allocations: 0.8422 MB / 1.395 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.9231, allocations: 0.8942 MB / 1.396 GB, free: 9.293 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.9333, allocations: 6.761 MB / 1.403 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.9336, allocations: 464.2 kB / 1.403 GB, free: 2.02 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008337/0.9345, allocations: 0.5937 MB / 1.404 GB, free: 1.426 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.9476, allocations: 9.024 MB / 1.413 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.9478, allocations: 23.88 kB / 1.413 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.9484, allocations: 268 kB / 1.413 GB, free: 7.793 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.9485, allocations: 175.9 kB / 1.413 GB, free: 7.621 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.9596, allocations: 7.449 MB / 1.42 GB, free: 168 kB / 1.107 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.04027/0.9999, allocations: 36.11 MB / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/1.006, allocations: 4.288 MB / 1.46 GB, free: 5.711 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00432/1.01, allocations: 3.301 MB / 1.463 GB, free: 2.406 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.011, allocations: 0.9505 MB / 1.464 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003453/1.015, allocations: 2.386 MB / 1.466 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00145/1.016, allocations: 377.1 kB / 1.467 GB, free: 14.47 MB / 1.17 GB Notification: Performance of pre-optimization done (n=317): time 4.439e-06/1.016, allocations: 0 / 1.467 GB, free: 14.47 MB / 1.17 GB Notification: Performance of matching and sorting (n=317): time 0.01136/1.028, allocations: 7.155 MB / 1.474 GB, free: 7.23 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.028, allocations: 93.81 kB / 1.474 GB, free: 7.129 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006833/1.034, allocations: 5.667 MB / 1.479 GB, free: 1.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/1.035, allocations: 93.7 kB / 1.479 GB, free: 1.387 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.037, allocations: 3.263 MB / 1.483 GB, free: 14.1 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.038, allocations: 1.17 MB / 1.484 GB, free: 12.92 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.04, allocations: 0.8624 MB / 1.485 GB, free: 12.04 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.04, allocations: 305.1 kB / 1.485 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.043, allocations: 2.167 MB / 1.487 GB, free: 9.566 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004226/1.047, allocations: 3.697 MB / 1.491 GB, free: 5.168 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007882/1.055, allocations: 6.319 MB / 1.497 GB, free: 14.13 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/1.055, allocations: 16 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009911/1.065, allocations: 6.802 MB / 1.503 GB, free: 7.262 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/1.065, allocations: 53.69 kB / 1.503 GB, free: 7.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/1.065, allocations: 52 kB / 1.503 GB, free: 7.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008798/1.066, allocations: 436.5 kB / 1.504 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.069, allocations: 1.006 MB / 1.505 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/1.075, allocations: 5.704 MB / 1.51 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.078, allocations: 291.5 kB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/1.078, allocations: 220 kB / 1.511 GB, free: 15.23 MB / 1.217 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.003406/1.082, allocations: 2.481 MB / 1.513 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/1.083, allocations: 0.5552 MB / 1.514 GB, free: 12.18 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008007/1.091, allocations: 5.274 MB / 1.519 GB, free: 6.852 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/1.091, allocations: 31.98 kB / 1.519 GB, free: 6.82 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.091, allocations: 8 kB / 1.519 GB, free: 6.812 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006343/1.097, allocations: 4.524 MB / 1.523 GB, free: 2.184 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.114, allocations: 11.98 MB / 1.535 GB, free: 6.055 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.114, allocations: 4.125 kB / 1.535 GB, free: 6.051 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.116, allocations: 0.6436 MB / 1.536 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/1.117, allocations: 373.3 kB / 1.536 GB, free: 5.035 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/1.117, allocations: 83.95 kB / 1.536 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005531/1.123, allocations: 5.633 MB / 1.542 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.123, allocations: 288 / 1.542 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.134, allocations: 7.78 MB / 1.549 GB, free: 7.172 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.136, allocations: 1.185 MB / 1.551 GB, free: 5.965 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007096/1.137, allocations: 71.86 kB / 1.551 GB, free: 5.895 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.139, allocations: 195.9 kB / 1.551 GB, free: 5.703 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/1.14, allocations: 194.2 kB / 1.551 GB, free: 5.512 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.14, allocations: 147.9 kB / 1.551 GB, free: 5.367 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00542/1.145, allocations: 3.963 MB / 1.555 GB, free: 1.426 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.31e-07/1.145, allocations: 0 / 1.555 GB, free: 1.426 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004651/1.15, allocations: 2.031 MB / 1.557 GB, free: 15.39 MB / 1.264 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.01172/1.162, allocations: 8.752 MB / 1.565 GB, free: 6.535 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007806/1.17, allocations: 5.448 MB / 1.571 GB, free: 1.035 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.17, allocations: 0 / 1.571 GB, free: 1.035 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/1.173, allocations: 2.549 MB / 1.573 GB, free: 14.45 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/1.185, allocations: 3.378 MB / 1.577 GB, free: 11.17 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06965/1.255, allocations: 52.56 MB / 1.628 GB, free: 4.469 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/1.259, allocations: 4.632 MB / 1.632 GB, free: 15.8 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.005/1.264, allocations: 2.078 MB / 1.634 GB, free: 13.73 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003406/1.268, allocations: 2.67 MB / 1.637 GB, free: 11.06 MB / 1.342 GB Notification: Performance of SimCode: time 7.51e-07/1.268, allocations: 0 / 1.637 GB, free: 11.06 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.532/7.799, allocations: 159.9 MB / 1.793 GB, free: 12.35 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 20/27.8, allocations: 18.38 kB / 1.793 GB, free: 12.33 MB / 1.498 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)