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.202/2.202, allocations: 248.5 MB / 261.1 MB, free: 6.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.001473/0.001473, allocations: 192 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 105.4 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.432e-05/4.449e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8629/1.076, allocations: 133.9 MB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.076, allocations: 82.81 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0182/1.094, allocations: 3.701 MB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.315e-06/1.094, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.196e-05/1.094, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.6511 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.001691/1.096, allocations: 0.5991 MB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.096, allocations: 12.03 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.769e-05/1.096, allocations: 49.42 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/1.096, allocations: 19.81 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/1.097, allocations: 253.8 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/1.097, allocations: 11.38 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/1.097, allocations: 20.88 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/1.097, allocations: 181.8 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.097, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/1.097, allocations: 9.375 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/1.097, allocations: 7.938 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/1.098, allocations: 103.5 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/1.099, allocations: 0.567 MB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/1.1, allocations: 148.2 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/1.1, allocations: 60.48 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/1.1, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/1.1, allocations: 139.4 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/1.1, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005552/1.101, allocations: 160 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/1.101, allocations: 114.7 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/1.101, allocations: 193 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/1.101, allocations: 37.12 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.101, allocations: 124.7 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/1.102, allocations: 45.86 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/1.102, allocations: 7.312 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.102, allocations: 333.8 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/1.102, allocations: 54 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/1.102, allocations: 85.69 kB / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/1.102, allocations: 97.28 kB / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.102, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005729/1.103, allocations: 238.8 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.103, allocations: 155.7 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.103, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.103, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/1.104, allocations: 75.81 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.104, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/1.104, allocations: 74.84 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/1.105, allocations: 7.984 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.105, allocations: 4 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005171/1.105, allocations: 200.6 kB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/1.105, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-06/1.105, allocations: 4 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/1.106, allocations: 63.81 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/1.106, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/1.106, allocations: 55.73 kB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/1.106, allocations: 10.94 kB / 1.029 GB, free: 10.17 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.0001508/1.106, allocations: 120.5 kB / 1.029 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/1.106, allocations: 15.81 kB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/1.107, allocations: 20.22 kB / 1.029 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/1.107, allocations: 7.938 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.107, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.107, allocations: 3.984 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/1.107, allocations: 282.6 kB / 1.03 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.107, allocations: 8 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/1.108, allocations: 71.25 kB / 1.03 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.108, allocations: 0 / 1.03 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/1.108, allocations: 7.984 kB / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.108, allocations: 0 / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.108, allocations: 0 / 1.03 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/1.108, allocations: 196.3 kB / 1.03 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/1.108, allocations: 88.92 kB / 1.03 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/1.108, allocations: 7.562 kB / 1.03 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/1.109, allocations: 67.86 kB / 1.03 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.109, allocations: 27.89 kB / 1.03 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/1.109, allocations: 7.625 kB / 1.03 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002098/1.109, allocations: 150.3 kB / 1.03 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.109, allocations: 4 kB / 1.03 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00051/1.11, allocations: 82.84 kB / 1.03 GB, free: 9.066 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.0008708/1.111, allocations: 0.7384 MB / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008515/1.112, allocations: 442.2 kB / 1.032 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.112, allocations: 0 / 1.032 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.112, allocations: 68.86 kB / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/1.112, allocations: 43.38 kB / 1.032 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/1.113, allocations: 278.8 kB / 1.032 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.114, allocations: 0.7409 MB / 1.033 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002914/1.114, allocations: 29.53 kB / 1.033 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.114, allocations: 63.78 kB / 1.033 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.114, allocations: 3.938 kB / 1.033 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/1.143, allocations: 5.243 MB / 1.038 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/1.143, allocations: 191.1 kB / 1.038 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.652, allocations: 3.938 kB / 1.038 GB, free: 1.492 MB / 0.6511 GB