Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_11_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.001567/0.001567, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.621/2.621, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 66.14 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2808, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.004139/0.285, allocations: 2.002 MB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2862, allocations: 0.6546 MB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.2863, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.2864, allocations: 19.73 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.2866, allocations: 43.56 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.2871, allocations: 161.1 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.2874, allocations: 287.2 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2876, allocations: 72.25 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2878, allocations: 107.6 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.288, allocations: 119.5 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.288, allocations: 28 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.2881, allocations: 24 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.2881, allocations: 55.83 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2883, allocations: 111.4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.2886, allocations: 259.4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.2886, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2886, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2886, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 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.00127/0.2899, allocations: 0.6267 MB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2899, allocations: 8.031 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.29, allocations: 46.73 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.29, allocations: 24.66 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.2904, allocations: 267.8 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2904, allocations: 12.38 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.2905, allocations: 12.38 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.2911, allocations: 245.4 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2911, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2912, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2912, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.2921, allocations: 224.2 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.2928, allocations: 0.5196 MB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2938, allocations: 258.5 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.2943, allocations: 120.8 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.2943, allocations: 7.875 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.2949, allocations: 193.5 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.562e-06/0.2949, allocations: 0 / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001407/0.2964, allocations: 381 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.2964, allocations: 59.34 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2966, allocations: 215 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2967, allocations: 29.7 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.2967, allocations: 132.3 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.2968, allocations: 47.36 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.189e-05/0.2969, allocations: 37.7 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.297, allocations: 330.8 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.2975, allocations: 116.8 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.2979, allocations: 115.9 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.2987, allocations: 265.4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2988, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009934/0.2998, allocations: 374.5 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.2998, allocations: 64.58 kB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2998, allocations: 0 / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2998, allocations: 4 kB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.3001, allocations: 51.94 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3001, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.3004, allocations: 47.8 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3004, allocations: 7.984 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004454/0.3009, allocations: 200 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003643/0.3013, allocations: 99.91 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007219/0.302, allocations: 258 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.302, allocations: 0 / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008661/0.3029, allocations: 344.5 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.3029, allocations: 63.41 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-06/0.3029, allocations: 0 / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.3029, allocations: 4 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3032, allocations: 39.94 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3032, allocations: 8 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.3034, allocations: 43.8 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.3035, allocations: 11.92 kB / 1.074 GB, free: 4.059 MB / 0.8262 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.0001213/0.3036, allocations: 194.1 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3036, allocations: 19.75 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.3037, allocations: 25.5 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3037, allocations: 8 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3037, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3037, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.304, allocations: 277.3 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.304, allocations: 0 / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3042, allocations: 47.94 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3042, allocations: 0 / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3043, allocations: 7.984 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3043, allocations: 4 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3043, allocations: 0 / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.3052, allocations: 310.4 kB / 1.074 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3053, allocations: 96.91 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.3053, allocations: 4 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.3056, allocations: 35.94 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.3057, allocations: 27.97 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3057, allocations: 4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001312/0.3059, allocations: 160.6 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00031/0.3062, allocations: 75.83 kB / 1.075 GB, free: 2.703 MB / 0.8262 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.001263/0.3075, allocations: 0.8506 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.309, allocations: 0.5962 MB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.309, allocations: 4 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.3094, allocations: 125.7 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.3097, allocations: 39.97 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.314, allocations: 2.42 MB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3143, allocations: 0.7285 MB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3144, allocations: 25.53 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3146, allocations: 60.3 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3146, allocations: 0 / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3765/0.6911, allocations: 4.984 MB / 1.084 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.281/9.972, allocations: 11.97 kB / 1.084 GB, free: 8.816 MB / 0.8419 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_11_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)