Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001149/0.001149, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001002/0.001002, allocations: 86.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.029e-05/6.032e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.37, allocations: 134.3 MB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/1.37, allocations: 90.2 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01226/1.382, allocations: 3.711 MB / 1.027 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.565e-06/1.383, allocations: 0 / 1.027 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.846e-05/1.383, allocations: 4 kB / 1.027 GB, free: 13.21 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.001241/1.384, allocations: 0.591 MB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/1.384, allocations: 11.97 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/1.384, allocations: 44.11 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.36e-05/1.384, allocations: 19.81 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/1.385, allocations: 266.4 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.385, allocations: 7 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/1.385, allocations: 15.25 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/1.385, allocations: 186.2 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.385, allocations: 3.984 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/1.385, allocations: 3.188 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/1.385, allocations: 4 kB / 1.028 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/1.385, allocations: 101.9 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/1.386, allocations: 0.5627 MB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/1.387, allocations: 150.3 kB / 1.029 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.387, allocations: 60.17 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/1.387, allocations: 4 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/1.387, allocations: 128.2 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.494e-06/1.387, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003951/1.388, allocations: 172.3 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/1.388, allocations: 106.3 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/1.388, allocations: 192.5 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/1.388, allocations: 29.7 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/1.388, allocations: 136.3 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/1.388, allocations: 45.98 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/1.388, allocations: 0 / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.388, allocations: 332.8 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/1.388, allocations: 56.02 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/1.389, allocations: 84.38 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.389, allocations: 103.4 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.389, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003701/1.389, allocations: 240 kB / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.389, allocations: 147.9 kB / 1.03 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.389, allocations: 0 / 1.03 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.389, allocations: 12.02 kB / 1.03 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/1.39, allocations: 63.94 kB / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.39, allocations: 0 / 1.03 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/1.39, allocations: 75.22 kB / 1.031 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/1.39, allocations: 11.48 kB / 1.031 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/1.39, allocations: 4 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003097/1.39, allocations: 208.2 kB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/1.39, allocations: 3.938 kB / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-06/1.39, allocations: 0 / 1.031 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/1.391, allocations: 55.95 kB / 1.031 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/1.391, allocations: 3.984 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/1.391, allocations: 63.11 kB / 1.031 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/1.391, allocations: 6.812 kB / 1.031 GB, free: 9.25 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.0001171/1.391, allocations: 123.7 kB / 1.031 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/1.391, allocations: 22.48 kB / 1.031 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/1.391, allocations: 27.77 kB / 1.031 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.391, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.391, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.391, allocations: 0 / 1.031 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/1.392, allocations: 291.8 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.392, allocations: 0 / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/1.392, allocations: 67.94 kB / 1.031 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.392, allocations: 0 / 1.031 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/1.392, allocations: 10.8 kB / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.392, allocations: 0 / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.392, allocations: 0 / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/1.392, allocations: 199.2 kB / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/1.392, allocations: 88.92 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/1.392, allocations: 3.312 kB / 1.032 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/1.393, allocations: 71.55 kB / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.393, allocations: 23.52 kB / 1.032 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.393, allocations: 7.25 kB / 1.032 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001455/1.393, allocations: 156.5 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/1.393, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003327/1.393, allocations: 78.91 kB / 1.032 GB, free: 8.148 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.0006737/1.394, allocations: 0.7434 MB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005669/1.395, allocations: 434.2 kB / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.395, allocations: 0 / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/1.395, allocations: 76.25 kB / 1.033 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/1.395, allocations: 41.16 kB / 1.033 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/1.396, allocations: 282.3 kB / 1.034 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/1.396, allocations: 0.7331 MB / 1.034 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001684/1.396, allocations: 37.53 kB / 1.034 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.396, allocations: 55.3 kB / 1.034 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.396, allocations: 0 / 1.034 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/1.415, allocations: 5.261 MB / 1.039 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.415, allocations: 198.5 kB / 1.04 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.556, allocations: 0 / 1.04 GB, free: 0.5391 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)