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.001647/0.001647, 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.002538/0.002538, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.337/1.337, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.653/1.653, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001423/0.001423, allocations: 64.08 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1769, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04589/0.2228, allocations: 55.54 MB / 0.8372 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.2414, allocations: 17.72 MB / 0.8545 GB, free: 4.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.2433, allocations: 67.56 kB / 0.8546 GB, free: 4.273 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.2451, allocations: 0.7615 MB / 0.8553 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.25, allocations: 2.302 MB / 0.8576 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.2527, allocations: 1.377 MB / 0.8589 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01677/0.2695, allocations: 21.21 MB / 0.8796 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.2802, allocations: 10.58 MB / 0.8899 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.2916, allocations: 7.224 MB / 0.897 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.2997, allocations: 6.549 MB / 0.9034 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.3013, allocations: 0.9297 MB / 0.9043 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.3055, allocations: 1.694 MB / 0.906 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001962/0.3075, allocations: 2.318 MB / 0.9082 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006278/0.3138, allocations: 4.676 MB / 0.9128 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.3428/0.6566, allocations: 12.97 MB / 0.9255 GB, free: 46.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.6566, allocations: 0 / 0.9255 GB, free: 46.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6566, allocations: 3.75 kB / 0.9255 GB, free: 46.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003193/0.657, allocations: 0.9688 kB / 0.9255 GB, free: 46.83 MB / 0.7325 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.01738/0.6743, allocations: 8.438 MB / 0.9337 GB, free: 44.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6744, allocations: 11.67 kB / 0.9337 GB, free: 44.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/0.6757, allocations: 0.8408 MB / 0.9345 GB, free: 43.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.6782, allocations: 0.8483 MB / 0.9354 GB, free: 43.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009743/0.6879, allocations: 6.501 MB / 0.9417 GB, free: 42.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.6883, allocations: 458.8 kB / 0.9421 GB, free: 42.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.6894, allocations: 0.5982 MB / 0.9427 GB, free: 42.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.7041, allocations: 9.025 MB / 0.9515 GB, free: 41.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.7043, allocations: 17.97 kB / 0.9516 GB, free: 41.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009121/0.7052, allocations: 267.9 kB / 0.9518 GB, free: 41.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.7053, allocations: 176 kB / 0.952 GB, free: 41.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.7167, allocations: 7.453 MB / 0.9593 GB, free: 41.57 MB / 0.7325 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.03539/0.7521, allocations: 35.89 MB / 0.9943 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/0.7568, allocations: 4.277 MB / 0.9985 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.7601, allocations: 3.305 MB / 1.002 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009153/0.761, allocations: 0.9592 MB / 1.003 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002853/0.7639, allocations: 2.384 MB / 1.005 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002337/0.7662, allocations: 416.6 kB / 1.005 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 5.18e-06/0.7662, allocations: 1.969 kB / 1.005 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.009547/0.7758, allocations: 7.127 MB / 1.012 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.7758, allocations: 85.06 kB / 1.012 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005104/0.7809, allocations: 5.377 MB / 1.018 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.7813, allocations: 85.7 kB / 1.018 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.783, allocations: 3.17 MB / 1.021 GB, free: 184 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.784, allocations: 1.117 MB / 1.022 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.7852, allocations: 0.8581 MB / 1.023 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7853, allocations: 305.1 kB / 1.023 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/0.7882, allocations: 2.163 MB / 1.025 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/0.7921, allocations: 3.694 MB / 1.029 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/0.7991, allocations: 6.32 MB / 1.035 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/0.7991, allocations: 12 kB / 1.035 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01005/0.8092, allocations: 6.769 MB / 1.042 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.8093, allocations: 57.69 kB / 1.042 GB, free: 9.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-05/0.8093, allocations: 48 kB / 1.042 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.8103, allocations: 437.2 kB / 1.042 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.8136, allocations: 1.005 MB / 1.043 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/0.8188, allocations: 5.708 MB / 1.049 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.8233, allocations: 466.7 kB / 1.049 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003612/0.8236, allocations: 220 kB / 1.049 GB, free: 1.922 MB / 0.7637 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.003528/0.8272, allocations: 2.462 MB / 1.052 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8282, allocations: 0.5172 MB / 1.052 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/0.8359, allocations: 5.258 MB / 1.057 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.836, allocations: 33.09 kB / 1.057 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.836, allocations: 4 kB / 1.057 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005973/0.842, allocations: 4.536 MB / 1.062 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.86, allocations: 11.94 MB / 1.073 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.86, allocations: 4 kB / 1.073 GB, free: 9.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/0.8627, allocations: 0.6439 MB / 1.074 GB, free: 8.406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/0.8634, allocations: 361.4 kB / 1.074 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.8636, allocations: 86.02 kB / 1.075 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.8688, allocations: 5.625 MB / 1.08 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8688, allocations: 3.188 kB / 1.08 GB, free: 2.102 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.8793, allocations: 7.752 MB / 1.088 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/0.8819, allocations: 1.132 MB / 1.089 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006971/0.8826, allocations: 79.92 kB / 1.089 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/0.8858, allocations: 451.8 kB / 1.089 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/0.8862, allocations: 202.2 kB / 1.089 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/0.8865, allocations: 135.9 kB / 1.09 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004679/0.8911, allocations: 3.746 MB / 1.093 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8911, allocations: 0 / 1.093 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004848/0.896, allocations: 1.987 MB / 1.095 GB, free: 2.547 MB / 0.8106 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.01607/0.9121, allocations: 8.69 MB / 1.104 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.03629/0.9484, allocations: 11.63 MB / 1.115 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.9485, allocations: 4 kB / 1.115 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.005632/0.9541, allocations: 2.548 MB / 1.117 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0168/0.9709, allocations: 3.403 MB / 1.121 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1314/1.102, allocations: 64.93 MB / 1.184 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.108, allocations: 4.602 MB / 1.189 GB, free: 13.67 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006516/1.114, allocations: 2.023 MB / 1.191 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003622/1.118, allocations: 2.642 MB / 1.193 GB, free: 9.008 MB / 0.92 GB Notification: Performance of SimCode: time 8.72e-07/1.118, allocations: 0 / 1.193 GB, free: 9.008 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/2.389, allocations: 162.6 MB / 1.352 GB, free: 380.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/2.389, allocations: 287.4 kB / 1.352 GB, free: 379.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.201/7.59, allocations: 1.875 kB / 1.352 GB, free: 379.8 MB / 1.014 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)