Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005436/0.00544, allocations: 98.45 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 195.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003422/1.035, allocations: 2.001 MB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001121/1.036, allocations: 0.6455 MB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/1.036, allocations: 7.281 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.536e-05/1.036, allocations: 16.55 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/1.036, allocations: 51.72 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/1.037, allocations: 158 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/1.037, allocations: 288.8 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/1.037, allocations: 73.45 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/1.037, allocations: 109.4 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/1.038, allocations: 125 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/1.038, allocations: 25.31 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/1.038, allocations: 25.56 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/1.038, allocations: 49.55 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/1.038, allocations: 111.6 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/1.038, allocations: 267.4 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.038, allocations: 0.8125 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.038, allocations: 0 / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.038, allocations: 0 / 1.091 GB, free: 2.738 MB / 0.8575 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.001391/1.04, allocations: 0.6315 MB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.04, allocations: 9.094 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/1.04, allocations: 46.2 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/1.04, allocations: 25.48 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/1.04, allocations: 266.6 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/1.04, allocations: 10.16 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.04, allocations: 15.05 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/1.041, allocations: 246.2 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.041, allocations: 0 / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/1.041, allocations: 6.203 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.041, allocations: 2.906 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/1.042, allocations: 233.9 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/1.043, allocations: 0.5136 MB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.044, allocations: 260 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/1.045, allocations: 131.4 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/1.045, allocations: 6.828 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/1.045, allocations: 189.1 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/1.046, allocations: 4.844 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.00164/1.047, allocations: 383.8 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.047, allocations: 59.28 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/1.047, allocations: 207 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/1.047, allocations: 32.05 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/1.048, allocations: 131.9 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/1.048, allocations: 46.48 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/1.048, allocations: 37.81 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/1.048, allocations: 329.8 kB / 1.095 GB, free: 320 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/1.048, allocations: 119.5 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/1.049, allocations: 114.7 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/1.05, allocations: 277.8 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.05, allocations: 0 / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001192/1.051, allocations: 372.6 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/1.051, allocations: 60.25 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.051, allocations: 0.6094 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.051, allocations: 1.062 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/1.051, allocations: 48 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.052, allocations: 6.516 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/1.052, allocations: 35.47 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/1.052, allocations: 9.25 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005291/1.052, allocations: 201 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000434/1.053, allocations: 103.1 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008624/1.054, allocations: 256.3 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.054, allocations: 0 / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.001035/1.055, allocations: 347.9 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/1.055, allocations: 60.7 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/1.055, allocations: 0 / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/1.055, allocations: 1.281 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/1.055, allocations: 44.3 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.055, allocations: 1.5 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.055, allocations: 44.8 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/1.055, allocations: 13.03 kB / 1.097 GB, free: 15.4 MB / 0.8731 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/1.056, allocations: 194.3 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/1.056, allocations: 16.25 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/1.056, allocations: 25.42 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.056, allocations: 1.031 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.056, allocations: 1 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.056, allocations: 1.266 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/1.056, allocations: 285.2 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.056, allocations: 0.6562 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/1.056, allocations: 46.39 kB / 1.098 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.056, allocations: 5.719 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/1.057, allocations: 7.5 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.057, allocations: 0.9688 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.057, allocations: 0 / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.058, allocations: 307.8 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/1.058, allocations: 103.1 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/1.058, allocations: 3.156 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.058, allocations: 38.06 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.058, allocations: 27.33 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/1.058, allocations: 4.688 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001681/1.058, allocations: 154 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/1.058, allocations: 0 / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003767/1.059, allocations: 70.84 kB / 1.098 GB, free: 14.57 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/1.06, allocations: 0.8566 MB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.062, allocations: 0.5924 MB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.062, allocations: 0 / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/1.063, allocations: 129.1 kB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/1.063, allocations: 40.02 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/1.068, allocations: 2.425 MB / 1.102 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.068, allocations: 0.7244 MB / 1.103 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001625/1.068, allocations: 23.25 kB / 1.103 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.069, allocations: 61.66 kB / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/1.069, allocations: 0 / 1.103 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04263/1.111, allocations: 5.036 MB / 1.108 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/10.56, allocations: 9.953 kB / 1.108 GB, free: 10.65 MB / 0.8731 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)