Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 2.417/2.417, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 174.3 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.453/3.453, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 90.28 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005919/0.0005924, allocations: 13.53 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3681, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003303/0.3715, allocations: 1.715 MB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3733, allocations: 0.6864 MB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3735, allocations: 7.938 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.3736, allocations: 11.86 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.3738, allocations: 43.64 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.3744, allocations: 142.6 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.3748, allocations: 271.2 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.3751, allocations: 64.27 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3753, allocations: 87.61 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3755, allocations: 103.5 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.3756, allocations: 8 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.3757, allocations: 12 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.3757, allocations: 35.83 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3759, allocations: 117.2 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3762, allocations: 243.4 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3763, allocations: 0 / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3763, allocations: 0 / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3763, allocations: 4 kB / 0.9044 GB, free: 59.8 MB / 0.6042 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.001662/0.378, allocations: 0.6269 MB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.3781, allocations: 12.03 kB / 0.905 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.762e-05/0.3782, allocations: 50.67 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.3783, allocations: 24.66 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.3788, allocations: 268.8 kB / 0.9053 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.3789, allocations: 20.36 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3789, allocations: 12.38 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.3799, allocations: 268.1 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3799, allocations: 3.938 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.38, allocations: 12 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.38, allocations: 0 / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.3813, allocations: 275.8 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3825, allocations: 0.5196 MB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3841, allocations: 306.5 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.3848, allocations: 148.7 kB / 0.9068 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.3848, allocations: 3.938 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/0.3858, allocations: 216.8 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.3858, allocations: 0 / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002181/0.388, allocations: 457.1 kB / 0.9075 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3881, allocations: 55.41 kB / 0.9075 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3884, allocations: 223.1 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3884, allocations: 29.7 kB / 0.9078 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3885, allocations: 132.3 kB / 0.9079 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.3886, allocations: 47.3 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.3887, allocations: 0 / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.3888, allocations: 330.8 kB / 0.9082 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007489/0.3895, allocations: 139.9 kB / 0.9084 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.3903, allocations: 146.1 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.3917, allocations: 324 kB / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3918, allocations: 0 / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001717/0.3935, allocations: 410.7 kB / 0.9092 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.3936, allocations: 155.6 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3937, allocations: 0 / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.3937, allocations: 3.938 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.3942, allocations: 59.94 kB / 0.9094 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3942, allocations: 4 kB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.3947, allocations: 59.8 kB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3948, allocations: 11.92 kB / 0.9095 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3948, allocations: 4 kB / 0.9095 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/0.3964, allocations: 371.1 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3964, allocations: 7.938 kB / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.3964, allocations: 0 / 0.9099 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.3968, allocations: 47.95 kB / 0.9099 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3968, allocations: 4 kB / 0.9099 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.3973, allocations: 55.86 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.3973, allocations: 7.984 kB / 0.91 GB, free: 53.74 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.3976, allocations: 207.4 kB / 0.9102 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.3977, allocations: 31.59 kB / 0.9102 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-05/0.3978, allocations: 29.52 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3978, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3978, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3978, allocations: 0 / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.3982, allocations: 269.4 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3983, allocations: 4 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.3987, allocations: 59.94 kB / 0.9106 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.3987, allocations: 7.938 kB / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.3988, allocations: 0 / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.3988, allocations: 0 / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3988, allocations: 7.938 kB / 0.9106 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4004, allocations: 366.2 kB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.4005, allocations: 92.86 kB / 0.911 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.4006, allocations: 11.98 kB / 0.911 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.4011, allocations: 39.95 kB / 0.9111 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4013, allocations: 35.95 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4013, allocations: 4 kB / 0.9111 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00023/0.4016, allocations: 156.7 kB / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4016, allocations: 0 / 0.9112 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005836/0.4022, allocations: 71.84 kB / 0.9113 GB, free: 52.29 MB / 0.6042 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.001925/0.4041, allocations: 0.9023 MB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.4069, allocations: 0.6574 MB / 0.9128 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4069, allocations: 0 / 0.9128 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.4077, allocations: 151.8 kB / 0.913 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.4084, allocations: 47.69 kB / 0.913 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.4155, allocations: 2.614 MB / 0.9156 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4158, allocations: 0.7287 MB / 0.9163 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.4161, allocations: 29.52 kB / 0.9163 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.4163, allocations: 55.42 kB / 0.9164 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.876e-06/0.4164, allocations: 0 / 0.9164 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.4431, allocations: 4.5 MB / 0.9208 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.4435, allocations: 251.3 kB / 0.921 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.382, allocations: 2.922 kB / 0.921 GB, free: 42.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)