Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_10_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.007881/0.007881, allocations: 99.17 kB / 15.73 MB, free: 6.5 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.002066/0.002066, allocations: 192 kB / 16.67 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 437.1 MB / 0.7106 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003329/0.381, allocations: 1.999 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3823, allocations: 0.6547 MB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3824, allocations: 11.94 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.721e-05/0.3824, allocations: 15.8 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3826, allocations: 47.52 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3831, allocations: 160.2 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.3834, allocations: 287.2 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.3836, allocations: 72.22 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3838, allocations: 107.7 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3839, allocations: 119.4 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.384, allocations: 28 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.384, allocations: 24 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.3841, allocations: 59.81 kB / 1.17 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.3843, allocations: 107.5 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.3846, allocations: 267.1 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3846, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3846, allocations: 0 / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.3846, allocations: 4 kB / 1.17 GB, free: 3.328 MB / 0.92 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.001369/0.386, allocations: 0.6382 MB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.386, allocations: 8.031 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/0.3861, allocations: 50.73 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.3862, allocations: 24.8 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.3867, allocations: 263.9 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.3867, allocations: 12.38 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.3867, allocations: 16.36 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.3874, allocations: 245.2 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3874, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3875, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3875, allocations: 4 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009181/0.3884, allocations: 227.7 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.3892, allocations: 0.512 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3903, allocations: 262.5 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.3908, allocations: 116.7 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3908, allocations: 7.875 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/0.3914, allocations: 199.1 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.993e-06/0.3915, allocations: 0 / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.001508/0.393, allocations: 383.6 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.393, allocations: 71.27 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3933, allocations: 214.7 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.3933, allocations: 33.7 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3935, allocations: 124.4 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.3935, allocations: 39.62 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.3936, allocations: 41.7 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3938, allocations: 334.8 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.3943, allocations: 120.7 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.3947, allocations: 115.8 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.3957, allocations: 278.2 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3957, allocations: 0 / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001076/0.3968, allocations: 366.8 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.3968, allocations: 63.41 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3969, allocations: 3.938 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3969, allocations: 0 / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3972, allocations: 51.94 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3972, allocations: 0 / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3975, allocations: 51.83 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3975, allocations: 4 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004779/0.398, allocations: 200 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003838/0.3984, allocations: 107.9 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007628/0.3992, allocations: 250.3 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3992, allocations: 0 / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009322/0.4001, allocations: 348.6 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.4002, allocations: 63.39 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.4002, allocations: 0 / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.4002, allocations: 4 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.4004, allocations: 43.95 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.4004, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.4007, allocations: 35.91 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.4007, allocations: 8 kB / 1.176 GB, free: 13.14 MB / 0.9356 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.0001528/0.4009, allocations: 201.1 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.4009, allocations: 23.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.401, allocations: 17.53 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.401, allocations: 3.938 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.401, allocations: 0 / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.401, allocations: 7.984 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.4013, allocations: 277.4 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4013, allocations: 0 / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.4016, allocations: 43.95 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4016, allocations: 3.984 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4016, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4017, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4017, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000998/0.4027, allocations: 312.6 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.4027, allocations: 89.02 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4028, allocations: 8 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.4031, allocations: 43.94 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4032, allocations: 23.97 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4032, allocations: 4 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001511/0.4034, allocations: 160.4 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4034, allocations: 3.938 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003287/0.4037, allocations: 71.89 kB / 1.177 GB, free: 11.77 MB / 0.9356 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.001377/0.4051, allocations: 0.8573 MB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.4067, allocations: 0.5832 MB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4067, allocations: 0 / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.4072, allocations: 130.5 kB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.4076, allocations: 54.2 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.4123, allocations: 2.432 MB / 1.181 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4126, allocations: 0.7285 MB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.4128, allocations: 25.53 kB / 1.182 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.4129, allocations: 59.17 kB / 1.182 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.4129, allocations: 0 / 1.182 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.441, allocations: 5.046 MB / 1.187 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.51, allocations: 4.391 kB / 1.187 GB, free: 1.832 MB / 0.9356 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)