Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",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.177/2.177, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.00152/0.001519, allocations: 186.3 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.316/2.316, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001216/0.001216, allocations: 93.23 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.353e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2147, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.92/1.135, allocations: 134.2 MB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.135, allocations: 88.05 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01778/1.153, allocations: 3.688 MB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.153, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.317e-05/1.153, allocations: 11.92 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001658/1.155, allocations: 0.5879 MB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.155, allocations: 8.031 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/1.155, allocations: 23.8 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/1.155, allocations: 262.5 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/1.155, allocations: 4 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/1.155, allocations: 11.94 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003609/1.156, allocations: 108.9 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/1.156, allocations: 162.2 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.156, allocations: 0 / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/1.156, allocations: 0 / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.156, allocations: 4 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.157, allocations: 0.5199 MB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/1.158, allocations: 148 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/1.158, allocations: 60.05 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/1.158, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/1.159, allocations: 128.3 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.083e-06/1.159, allocations: 0 / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005206/1.159, allocations: 152.2 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.159, allocations: 118.7 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/1.16, allocations: 174 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/1.16, allocations: 25.7 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.16, allocations: 138.9 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/1.16, allocations: 35.31 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/1.16, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.16, allocations: 330.7 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/1.16, allocations: 50.88 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/1.16, allocations: 92.14 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/1.16, allocations: 39.36 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.161, allocations: 0 / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004869/1.161, allocations: 175.6 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.161, allocations: 156.2 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.161, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.161, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/1.162, allocations: 71.66 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.162, allocations: 3.984 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/1.162, allocations: 67.88 kB / 1.022 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/1.162, allocations: 7.984 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.163, allocations: 4 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003986/1.163, allocations: 144.5 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/1.163, allocations: 0 / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/1.163, allocations: 4 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/1.163, allocations: 47.95 kB / 1.023 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.163, allocations: 3.984 kB / 1.023 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/1.164, allocations: 59.8 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/1.164, allocations: 7.688 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.164, allocations: 112.9 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004076/1.165, allocations: 156.3 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/1.165, allocations: 15.81 kB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/1.165, allocations: 21.41 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.165, allocations: 0 / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.165, allocations: 7.984 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/1.165, allocations: 4 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/1.165, allocations: 252.5 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.165, allocations: 0 / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.166, allocations: 67.94 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.166, allocations: 0 / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/1.166, allocations: 3.984 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.166, allocations: 7.938 kB / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.166, allocations: 0 / 1.023 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/1.166, allocations: 189 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/1.166, allocations: 92.86 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/1.166, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/1.167, allocations: 63.92 kB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.167, allocations: 27.64 kB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.167, allocations: 4 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000179/1.167, allocations: 143.2 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.167, allocations: 0 / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005302/1.168, allocations: 75.75 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008871/1.169, allocations: 0.7224 MB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008123/1.17, allocations: 421.7 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.17, allocations: 0 / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.17, allocations: 71.17 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/1.17, allocations: 34.48 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.171, allocations: 280.5 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/1.172, allocations: 0.7328 MB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002839/1.172, allocations: 33.84 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.172, allocations: 59.28 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of SimCode: time 7.52e-07/1.172, allocations: 0 / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/1.216, allocations: 4.575 MB / 1.031 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/1.216, allocations: 181.3 kB / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.74, allocations: 0 / 1.031 GB, free: 5.969 MB / 0.6511 GB