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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008851/0.0008851, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005506/0.005506, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6886, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.001743/0.6904, allocations: 1.702 MB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.6913, allocations: 0.6331 MB / 0.9575 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.6914, allocations: 6.094 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.6914, allocations: 13.05 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.6916, allocations: 39.25 kB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.6919, allocations: 148.9 kB / 0.9577 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.6921, allocations: 256.9 kB / 0.9579 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.6923, allocations: 65.02 kB / 0.958 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.6924, allocations: 92.08 kB / 0.958 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.6925, allocations: 105.6 kB / 0.9581 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.6926, allocations: 9.656 kB / 0.9582 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.861e-05/0.6926, allocations: 9.594 kB / 0.9582 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.6927, allocations: 42.34 kB / 0.9582 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.6927, allocations: 114.7 kB / 0.9583 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.693, allocations: 239.1 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.693, allocations: 1.094 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.693, allocations: 0 / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.693, allocations: 0 / 0.9585 GB, free: 5.07 MB / 0.7169 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.001087/0.6941, allocations: 0.6216 MB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6941, allocations: 10.44 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.6942, allocations: 47.08 kB / 0.9592 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.6943, allocations: 27.62 kB / 0.9592 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.6946, allocations: 267.8 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6946, allocations: 6.188 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.6946, allocations: 17.94 kB / 0.9595 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.6953, allocations: 267.5 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6953, allocations: 1.375 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.6953, allocations: 9.375 kB / 0.9598 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.6953, allocations: 2.75 kB / 0.9598 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.6962, allocations: 268.6 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.6968, allocations: 0.5209 MB / 0.9605 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.6979, allocations: 313.4 kB / 0.9608 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.6984, allocations: 151.9 kB / 0.961 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.6984, allocations: 9.891 kB / 0.961 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.699, allocations: 219.8 kB / 0.9612 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.699, allocations: 0 / 0.9612 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001458/0.7005, allocations: 462.6 kB / 0.9616 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.7005, allocations: 57.16 kB / 0.9617 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.7007, allocations: 212.3 kB / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.7007, allocations: 31.67 kB / 0.9619 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.7008, allocations: 130.1 kB / 0.9621 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.7008, allocations: 44.61 kB / 0.9621 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.7009, allocations: 23.33 kB / 0.9621 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.7009, allocations: 331.4 kB / 0.9624 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.7014, allocations: 137.4 kB / 0.9626 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.7018, allocations: 143.7 kB / 0.9627 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.7027, allocations: 330.8 kB / 0.963 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7027, allocations: 0 / 0.963 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009959/0.7037, allocations: 416.6 kB / 0.9634 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.7038, allocations: 151.4 kB / 0.9636 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7038, allocations: 0 / 0.9636 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7038, allocations: 0 / 0.9636 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.7041, allocations: 67.06 kB / 0.9636 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7041, allocations: 0 / 0.9636 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.7044, allocations: 53.16 kB / 0.9637 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.7045, allocations: 8.656 kB / 0.9637 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/0.7045, allocations: 8.094 kB / 0.9637 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009177/0.7054, allocations: 364.3 kB / 0.964 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.7054, allocations: 5.031 kB / 0.964 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.7054, allocations: 1.031 kB / 0.964 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.7057, allocations: 65.97 kB / 0.9641 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.7057, allocations: 0.9062 kB / 0.9641 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.7059, allocations: 51.39 kB / 0.9642 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.706, allocations: 8.031 kB / 0.9642 GB, free: 1.102 MB / 0.7169 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.000115/0.7061, allocations: 209.1 kB / 0.9644 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.7061, allocations: 24.69 kB / 0.9644 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.7062, allocations: 18.09 kB / 0.9644 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7062, allocations: 2.375 kB / 0.9644 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7062, allocations: 0 / 0.9644 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7062, allocations: 5.172 kB / 0.9644 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.7064, allocations: 272.1 kB / 0.9647 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7064, allocations: 5.375 kB / 0.9647 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.7067, allocations: 55.11 kB / 0.9647 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7067, allocations: 3.938 kB / 0.9647 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.7067, allocations: 13.95 kB / 0.9647 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7067, allocations: 4.906 kB / 0.9648 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7067, allocations: 0 / 0.9648 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.7077, allocations: 354.1 kB / 0.9651 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.7077, allocations: 97.83 kB / 0.9652 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.7078, allocations: 8.906 kB / 0.9652 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.7081, allocations: 55.25 kB / 0.9652 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.995e-05/0.7082, allocations: 22.16 kB / 0.9653 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.7082, allocations: 7.703 kB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001241/0.7083, allocations: 156.6 kB / 0.9654 GB, free: 96 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7083, allocations: 0 / 0.9654 GB, free: 96 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003392/0.7087, allocations: 74.84 kB / 0.9655 GB, free: 80 kB / 0.7169 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.001445/0.7101, allocations: 0.8958 MB / 0.9664 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.7119, allocations: 0.667 MB / 0.967 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7119, allocations: 0.75 kB / 0.967 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.7124, allocations: 150.8 kB / 0.9672 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.7128, allocations: 34.36 kB / 0.9672 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.7177, allocations: 2.601 MB / 0.9697 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.718, allocations: 0.7295 MB / 0.9705 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.7181, allocations: 21.55 kB / 0.9705 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7183, allocations: 60.94 kB / 0.9705 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.7183, allocations: 0 / 0.9705 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.793/2.511, allocations: 4.451 MB / 0.9749 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/2.511, allocations: 241.7 kB / 0.9751 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/4.335, allocations: 1.875 kB / 0.9751 GB, free: 9.836 MB / 0.7325 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)