Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 248.7 MB / 256.2 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 184.9 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 0.5662 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 84.27 kB / 0.6704 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.737e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1977, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.836/2.034, allocations: 399.7 MB / 1.274 GB, free: 265 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/2.034, allocations: 85.5 kB / 1.275 GB, free: 265 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.02/13.05, allocations: 2.117 GB / 3.392 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.754e-06/13.05, allocations: 0 / 3.392 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001204/13.05, allocations: 192.4 kB / 3.392 GB, free: 127.9 MB / 0.8855 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.02554/13.08, allocations: 6.125 MB / 3.398 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/13.08, allocations: 11.47 kB / 3.398 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006191/13.08, allocations: 0.8455 MB / 3.399 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02699/13.11, allocations: 7.686 MB / 3.406 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/13.11, allocations: 198.2 kB / 3.406 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/13.11, allocations: 361.9 kB / 3.407 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02123/13.13, allocations: 6.369 MB / 3.413 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/13.16, allocations: 7.339 MB / 3.42 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005514/13.16, allocations: 18.06 kB / 3.42 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003337/13.17, allocations: 12.45 kB / 3.42 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00034/13.17, allocations: 182.9 kB / 3.42 GB, free: 123.5 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.09673/13.26, allocations: 32.18 MB / 3.452 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/13.28, allocations: 4.135 MB / 3.456 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/13.29, allocations: 3.106 MB / 3.459 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002435/13.29, allocations: 0.9635 MB / 3.46 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008298/13.3, allocations: 2.17 MB / 3.462 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005513/13.3, allocations: 354.4 kB / 3.462 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 3.382e-05/13.3, allocations: 3.938 kB / 3.462 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.021/13.33, allocations: 4.617 MB / 3.467 GB, free: 100 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/13.33, allocations: 89.72 kB / 3.467 GB, free: 99.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01575/13.34, allocations: 4.229 MB / 3.471 GB, free: 98.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00134/13.34, allocations: 28.33 kB / 3.471 GB, free: 98.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.006073/13.35, allocations: 3.118 MB / 3.474 GB, free: 95.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003042/13.35, allocations: 1.12 MB / 3.475 GB, free: 95.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008004/13.35, allocations: 0 / 3.475 GB, free: 95.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006025/13.35, allocations: 493 kB / 3.475 GB, free: 94.74 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007374/13.36, allocations: 1.982 MB / 3.477 GB, free: 94.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009901/13.37, allocations: 3.44 MB / 3.481 GB, free: 91.44 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/13.38, allocations: 3.01 MB / 3.484 GB, free: 89.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/13.38, allocations: 12 kB / 3.484 GB, free: 89.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02838/13.41, allocations: 6.3 MB / 3.49 GB, free: 84.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/13.41, allocations: 53.08 kB / 3.49 GB, free: 84.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/13.41, allocations: 48 kB / 3.49 GB, free: 84.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/13.41, allocations: 425 kB / 3.49 GB, free: 84.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/13.43, allocations: 1.042 MB / 3.491 GB, free: 83.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/13.44, allocations: 5.131 MB / 3.496 GB, free: 78.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/13.45, allocations: 390.2 kB / 3.497 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/13.45, allocations: 219.8 kB / 3.497 GB, free: 77.81 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002191/13.45, allocations: 244.5 kB / 3.497 GB, free: 77.57 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01611/13.47, allocations: 4.624 MB / 3.502 GB, free: 73.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/13.47, allocations: 470.2 kB / 3.502 GB, free: 73.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/13.49, allocations: 5.109 MB / 3.507 GB, free: 67.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/13.49, allocations: 32 kB / 3.507 GB, free: 67.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/13.49, allocations: 6.781 kB / 3.507 GB, free: 67.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01188/13.5, allocations: 4.511 MB / 3.512 GB, free: 63.25 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.03656/13.54, allocations: 11.23 MB / 3.523 GB, free: 51.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/13.54, allocations: 3.938 kB / 3.523 GB, free: 51.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00625/13.54, allocations: 0.6438 MB / 3.523 GB, free: 51.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/13.54, allocations: 367 kB / 3.524 GB, free: 50.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000928/13.54, allocations: 51.95 kB / 3.524 GB, free: 50.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007635/13.55, allocations: 5.046 MB / 3.528 GB, free: 45.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/13.55, allocations: 4 kB / 3.529 GB, free: 45.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/13.57, allocations: 7.594 MB / 3.536 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00569/13.58, allocations: 1.178 MB / 3.537 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002381/13.58, allocations: 12 kB / 3.537 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008128/13.59, allocations: 355.1 kB / 3.537 GB, free: 36.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/13.59, allocations: 222.4 kB / 3.538 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006457/13.59, allocations: 127.9 kB / 3.538 GB, free: 35.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008518/13.6, allocations: 3.21 MB / 3.541 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/13.6, allocations: 0 / 3.541 GB, free: 32.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01252/13.61, allocations: 2.021 MB / 3.543 GB, free: 30.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02303/13.64, allocations: 9.054 MB / 3.552 GB, free: 21.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0123/13.65, allocations: 5.009 MB / 3.557 GB, free: 16.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/13.65, allocations: 3.984 kB / 3.557 GB, free: 16.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005995/13.65, allocations: 2.379 MB / 3.559 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0214/13.68, allocations: 2.491 MB / 3.561 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0444/13.72, allocations: 13.43 MB / 3.574 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/13.73, allocations: 4.725 MB / 3.579 GB, free: 9.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01405/13.75, allocations: 1.891 MB / 3.581 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009189/13.75, allocations: 2.643 MB / 3.584 GB, free: 5.293 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/13.75, allocations: 11.94 kB / 3.584 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/14.79, allocations: 145.3 MB / 3.725 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/14.79, allocations: 187.6 kB / 3.726 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/22.54, allocations: 3.938 kB / 3.726 GB, free: 128.2 MB / 0.9011 GB