Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.71/1.71, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 177 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009586/0.0009589, allocations: 93.16 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.000495, allocations: 14.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3452, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.452, allocations: 140.7 MB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000372/1.452, allocations: 87.47 kB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0124/1.465, allocations: 3.7 MB / 1.121 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/1.465, allocations: 0 / 1.121 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.899e-05/1.465, allocations: 3.906 kB / 1.121 GB, free: 32.03 MB / 0.698 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.001421/1.466, allocations: 0.6309 MB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.607e-05/1.466, allocations: 11.67 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/1.467, allocations: 41.02 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/1.467, allocations: 30.62 kB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/1.467, allocations: 267.5 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.467, allocations: 7.75 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/1.467, allocations: 15.5 kB / 1.122 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/1.468, allocations: 293 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.468, allocations: 0 / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/1.468, allocations: 7.047 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.468, allocations: 3.875 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/1.469, allocations: 330 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.47, allocations: 0.5673 MB / 1.123 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.471, allocations: 385 kB / 1.123 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/1.471, allocations: 3.969 kB / 1.123 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/1.472, allocations: 242.3 kB / 1.123 GB, free: 30.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.885e-06/1.472, allocations: 0 / 1.123 GB, free: 30.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001671/1.474, allocations: 0.5142 MB / 1.124 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.474, allocations: 106.7 kB / 1.124 GB, free: 30.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/1.474, allocations: 196.7 kB / 1.124 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/1.474, allocations: 32.98 kB / 1.124 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.474, allocations: 124.8 kB / 1.124 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/1.474, allocations: 48.59 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.474, allocations: 2.562 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.475, allocations: 332.4 kB / 1.125 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/1.475, allocations: 164.4 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/1.476, allocations: 194.8 kB / 1.125 GB, free: 29.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/1.476, allocations: 213.3 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/1.476, allocations: 3.969 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001112/1.477, allocations: 452 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.477, allocations: 153.7 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.477, allocations: 0 / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.477, allocations: 0 / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.478, allocations: 75.02 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.478, allocations: 0 / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/1.478, allocations: 70 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/1.478, allocations: 6.453 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/1.478, allocations: 3.844 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009215/1.479, allocations: 367.3 kB / 1.126 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/1.479, allocations: 7.844 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-06/1.479, allocations: 0 / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/1.479, allocations: 57.73 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/1.479, allocations: 0 / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/1.48, allocations: 62.05 kB / 1.126 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.48, allocations: 6.766 kB / 1.126 GB, free: 29.52 MB / 0.698 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 () * Number of clocked 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.0002692/1.48, allocations: 210.8 kB / 1.127 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/1.48, allocations: 19.5 kB / 1.127 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/1.48, allocations: 25.11 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.48, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.48, allocations: 0 / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.48, allocations: 2.953 kB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/1.481, allocations: 290.5 kB / 1.127 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.481, allocations: 6.844 kB / 1.127 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/1.481, allocations: 72.55 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.481, allocations: 0 / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.481, allocations: 9.234 kB / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.481, allocations: 0 / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.481, allocations: 0 / 1.127 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.482, allocations: 398.9 kB / 1.127 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/1.482, allocations: 99.28 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/1.482, allocations: 17.77 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/1.482, allocations: 58.3 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.483, allocations: 34.58 kB / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.483, allocations: 3.844 kB / 1.128 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001667/1.483, allocations: 158.5 kB / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.483, allocations: 0 / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003733/1.483, allocations: 80.69 kB / 1.128 GB, free: 28.8 MB / 0.698 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) * Number of clocked states: 0 () * 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.001692/1.485, allocations: 0.9385 MB / 1.129 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.487, allocations: 0.7104 MB / 1.129 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.487, allocations: 7.938 kB / 1.129 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/1.487, allocations: 172.2 kB / 1.13 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/1.487, allocations: 37.2 kB / 1.13 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/1.491, allocations: 1.541 MB / 1.131 GB, free: 27.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.491, allocations: 0.7361 MB / 1.132 GB, free: 26.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000149/1.491, allocations: 22.19 kB / 1.132 GB, free: 26.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.492, allocations: 62.94 kB / 1.132 GB, free: 26.66 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/1.492, allocations: 0 / 1.132 GB, free: 26.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/1.51, allocations: 5.007 MB / 1.137 GB, free: 24.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.511, allocations: 228.7 kB / 1.137 GB, free: 24.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.827, allocations: 0 / 1.137 GB, free: 24.44 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)