Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 285.7 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 188.8 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.73 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.103e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9271, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/1.175, allocations: 139.9 MB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.175, allocations: 81.48 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01174/1.187, allocations: 3.673 MB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.408e-06/1.187, allocations: 5.781 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.583e-05/1.187, allocations: 0 / 1.105 GB, free: 12.14 MB / 0.7136 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.001252/1.188, allocations: 0.5886 MB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/1.188, allocations: 12.03 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/1.189, allocations: 28.75 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/1.189, allocations: 263.5 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/1.189, allocations: 7.984 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.189, allocations: 12 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002528/1.189, allocations: 96 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/1.19, allocations: 169.9 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.19, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/1.19, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/1.19, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/1.191, allocations: 0.5202 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/1.191, allocations: 146.6 kB / 1.107 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/1.191, allocations: 60.89 kB / 1.107 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/1.191, allocations: 4.25 kB / 1.107 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/1.192, allocations: 131.6 kB / 1.107 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.754e-06/1.192, allocations: 4 kB / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003956/1.192, allocations: 153.3 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.192, allocations: 106.8 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/1.192, allocations: 171.1 kB / 1.107 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/1.192, allocations: 33.69 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/1.192, allocations: 128.3 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/1.192, allocations: 39.45 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/1.193, allocations: 8 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.193, allocations: 330.8 kB / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/1.193, allocations: 48 kB / 1.108 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.193, allocations: 83.19 kB / 1.108 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/1.193, allocations: 45.48 kB / 1.108 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.193, allocations: 0 / 1.108 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003212/1.193, allocations: 175.8 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.194, allocations: 157.2 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.194, allocations: 3.984 kB / 1.108 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.194, allocations: 4 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/1.194, allocations: 71.88 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.194, allocations: 0 / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/1.194, allocations: 69.72 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/1.194, allocations: 15.98 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.194, allocations: 4 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002633/1.195, allocations: 129.7 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.195, allocations: 0 / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-06/1.195, allocations: 3.938 kB / 1.108 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/1.195, allocations: 56.94 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/1.195, allocations: 0 / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/1.195, allocations: 47.94 kB / 1.109 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.195, allocations: 12 kB / 1.109 GB, free: 8 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.195, allocations: 112.9 kB / 1.109 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002499/1.196, allocations: 157.3 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/1.196, allocations: 15.81 kB / 1.109 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/1.196, allocations: 17.97 kB / 1.109 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.196, allocations: 4 kB / 1.109 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.196, allocations: 0 / 1.109 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.196, allocations: 3.984 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/1.196, allocations: 250 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.196, allocations: 6.562 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/1.196, allocations: 63.88 kB / 1.109 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.196, allocations: 8.891 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.196, allocations: 7.984 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.196, allocations: 1.406 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.196, allocations: 0 / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/1.197, allocations: 179.1 kB / 1.109 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/1.197, allocations: 104.8 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/1.197, allocations: 0 / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/1.197, allocations: 59.94 kB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.197, allocations: 35.94 kB / 1.11 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/1.197, allocations: 4 kB / 1.11 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001371/1.198, allocations: 136.2 kB / 1.11 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.198, allocations: 3.938 kB / 1.11 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003819/1.198, allocations: 83.77 kB / 1.11 GB, free: 6.691 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/1.199, allocations: 0.7302 MB / 1.11 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006495/1.199, allocations: 414.8 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.199, allocations: 7.938 kB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/1.2, allocations: 66.06 kB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/1.2, allocations: 36.25 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/1.201, allocations: 269.3 kB / 1.111 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.201, allocations: 0.7414 MB / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001711/1.201, allocations: 29.84 kB / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.202, allocations: 63.41 kB / 1.112 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.202, allocations: 0 / 1.112 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/1.231, allocations: 4.561 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/1.231, allocations: 196.3 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/3.277, allocations: 6.844 kB / 1.117 GB, free: 15.55 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)