Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_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.00119/0.00119, allocations: 108 kB / 15.61 MB, free: 148 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.001125/0.001124, allocations: 194.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 69.28 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2129, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05026/0.2632, allocations: 56 MB / 0.8381 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.2839, allocations: 17.87 MB / 0.8556 GB, free: 3.234 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.2861, allocations: 75.56 kB / 0.8557 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.2885, allocations: 0.8885 MB / 0.8565 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.2944, allocations: 2.483 MB / 0.859 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.2977, allocations: 1.512 MB / 0.8604 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01925/0.3169, allocations: 21.11 MB / 0.8811 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.3296, allocations: 10.69 MB / 0.8915 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.3431, allocations: 7.133 MB / 0.8985 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009256/0.3524, allocations: 6.362 MB / 0.9047 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.3453/0.6977, allocations: 0.9369 MB / 0.9056 GB, free: 29.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005876/0.7036, allocations: 1.693 MB / 0.9072 GB, free: 29.2 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00303/0.7066, allocations: 2.335 MB / 0.9095 GB, free: 29.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009517/0.7162, allocations: 4.684 MB / 0.9141 GB, free: 28.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.7317, allocations: 12.99 MB / 0.9268 GB, free: 27.49 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.7318, allocations: 1.062 kB / 0.9268 GB, free: 27.49 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7318, allocations: 0 / 0.9268 GB, free: 27.49 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004632/0.7323, allocations: 0 / 0.9268 GB, free: 27.49 MB / 0.7169 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.02265/0.7549, allocations: 8.463 MB / 0.9351 GB, free: 24.55 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.755, allocations: 13.78 kB / 0.9351 GB, free: 24.55 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002325/0.7573, allocations: 0.8417 MB / 0.9359 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.761, allocations: 0.8484 MB / 0.9367 GB, free: 24.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/0.7744, allocations: 6.314 MB / 0.9429 GB, free: 23.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/0.7748, allocations: 455 kB / 0.9433 GB, free: 23.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001718/0.7765, allocations: 0.6012 MB / 0.9439 GB, free: 23.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.7917, allocations: 9.023 MB / 0.9527 GB, free: 22.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.7919, allocations: 22.59 kB / 0.9527 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007125/0.7926, allocations: 260.2 kB / 0.953 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.7927, allocations: 183 kB / 0.9532 GB, free: 22.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.8039, allocations: 7.45 MB / 0.9604 GB, free: 20.43 MB / 0.7169 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.03916/0.843, allocations: 36.23 MB / 0.9958 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005723/0.8488, allocations: 4.281 MB / 1 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.8531, allocations: 3.307 MB / 1.003 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/0.8548, allocations: 0.9588 MB / 1.004 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.8587, allocations: 2.386 MB / 1.006 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002614/0.8613, allocations: 367.6 kB / 1.007 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 6.082e-06/0.8613, allocations: 0 / 1.007 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.0116/0.8729, allocations: 7.141 MB / 1.014 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.873, allocations: 81.91 kB / 1.014 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/0.8808, allocations: 5.576 MB / 1.019 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004526/0.8813, allocations: 85.7 kB / 1.019 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002917/0.8842, allocations: 3.173 MB / 1.023 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.8855, allocations: 1.114 MB / 1.024 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.8867, allocations: 0.858 MB / 1.024 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.8868, allocations: 309 kB / 1.025 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/0.89, allocations: 2.163 MB / 1.027 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.8944, allocations: 3.697 MB / 1.03 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007608/0.902, allocations: 6.318 MB / 1.037 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/0.902, allocations: 16 kB / 1.037 GB, free: 4.297 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01051/0.9126, allocations: 6.763 MB / 1.043 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.9126, allocations: 58.8 kB / 1.043 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.894e-05/0.9127, allocations: 48.84 kB / 1.043 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.9136, allocations: 440.5 kB / 1.044 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.9171, allocations: 1.004 MB / 1.045 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/0.9225, allocations: 5.714 MB / 1.05 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/0.9271, allocations: 285.4 kB / 1.051 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.9275, allocations: 216 kB / 1.051 GB, free: 5.887 MB / 0.7794 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.004043/0.9316, allocations: 2.46 MB / 1.053 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.9328, allocations: 0.521 MB / 1.054 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008287/0.9411, allocations: 5.253 MB / 1.059 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.9411, allocations: 36 kB / 1.059 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9412, allocations: 4 kB / 1.059 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006281/0.9474, allocations: 4.54 MB / 1.063 GB, free: 8.992 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/0.9665, allocations: 12.02 MB / 1.075 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.9665, allocations: 7.984 kB / 1.075 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/0.9693, allocations: 0.6418 MB / 1.076 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/0.9701, allocations: 371.7 kB / 1.076 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.9704, allocations: 83.95 kB / 1.076 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/0.9755, allocations: 5.617 MB / 1.082 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9756, allocations: 4 kB / 1.082 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.9875, allocations: 7.758 MB / 1.089 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/0.9909, allocations: 1.147 MB / 1.09 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/0.9921, allocations: 71.92 kB / 1.09 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/0.9951, allocations: 198.3 kB / 1.091 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/0.9955, allocations: 201 kB / 1.091 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/0.9958, allocations: 135.9 kB / 1.091 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00584/1.002, allocations: 3.902 MB / 1.095 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.2e-07/1.002, allocations: 0 / 1.095 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007399/1.009, allocations: 2.007 MB / 1.097 GB, free: 6.484 MB / 0.8262 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.022, allocations: 8.707 MB / 1.105 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02168/1.043, allocations: 11.63 MB / 1.117 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.043, allocations: 5.938 kB / 1.117 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/1.047, allocations: 2.547 MB / 1.119 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/1.063, allocations: 3.398 MB / 1.122 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08153/1.145, allocations: 64.05 MB / 1.185 GB, free: 6.957 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/1.149, allocations: 4.595 MB / 1.189 GB, free: 2.324 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006846/1.156, allocations: 2.046 MB / 1.191 GB, free: 288 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005792/1.162, allocations: 2.66 MB / 1.194 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of SimCode: time 9.42e-07/1.162, allocations: 0 / 1.194 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.429/2.591, allocations: 165.1 MB / 1.355 GB, free: 322.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/15.76, allocations: 13.16 kB / 1.355 GB, free: 322.3 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)