Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001263/0.001263, allocations: 177.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.001058/0.001058, allocations: 91.11 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004489, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3955, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.449, allocations: 141.6 MB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.449, allocations: 90.06 kB / 1.127 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/1.46, allocations: 3.71 MB / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.458e-06/1.46, allocations: 0 / 1.13 GB, free: 30.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.794e-05/1.46, allocations: 4 kB / 1.13 GB, free: 30.85 MB / 0.7292 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.001214/1.461, allocations: 0.6264 MB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.461, allocations: 8.031 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.259e-05/1.461, allocations: 46.64 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/1.461, allocations: 26.28 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/1.462, allocations: 269.5 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/1.462, allocations: 8 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/1.462, allocations: 19.44 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/1.463, allocations: 294.3 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.463, allocations: 0.6562 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.463, allocations: 4 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.463, allocations: 4.5 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/1.464, allocations: 319.7 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/1.464, allocations: 0.5577 MB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.466, allocations: 387.2 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/1.466, allocations: 4.75 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/1.466, allocations: 238 kB / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/1.466, allocations: 0 / 1.133 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0016/1.468, allocations: 0.5191 MB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/1.468, allocations: 108.2 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/1.468, allocations: 194.2 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/1.468, allocations: 35.44 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/1.468, allocations: 126.7 kB / 1.134 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/1.468, allocations: 47.3 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/1.468, allocations: 0 / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.469, allocations: 329.3 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/1.469, allocations: 165.9 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/1.47, allocations: 192.3 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/1.47, allocations: 211.1 kB / 1.135 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.47, allocations: 3.938 kB / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001103/1.471, allocations: 454.3 kB / 1.135 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/1.471, allocations: 154.5 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.471, allocations: 0.6562 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.471, allocations: 4 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.472, allocations: 66.05 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.472, allocations: 0 / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/1.472, allocations: 72.45 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/1.472, allocations: 6.219 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/1.472, allocations: 4 kB / 1.136 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008636/1.473, allocations: 373.2 kB / 1.136 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/1.473, allocations: 0.6094 kB / 1.136 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.473, allocations: 4 kB / 1.136 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/1.473, allocations: 53.78 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/1.473, allocations: 4.516 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/1.474, allocations: 57.86 kB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.474, allocations: 9.422 kB / 1.136 GB, free: 25.49 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.474, allocations: 218.9 kB / 1.136 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/1.474, allocations: 16.44 kB / 1.136 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/1.474, allocations: 24.16 kB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.474, allocations: 2.625 kB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.474, allocations: 0 / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/1.474, allocations: 1.312 kB / 1.136 GB, free: 25.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/1.474, allocations: 290.1 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.474, allocations: 2.672 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/1.475, allocations: 69.2 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.475, allocations: 0 / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.475, allocations: 9.109 kB / 1.137 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.475, allocations: 4 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.475, allocations: 0.6094 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/1.476, allocations: 407.5 kB / 1.137 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/1.476, allocations: 99.03 kB / 1.137 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/1.476, allocations: 8.703 kB / 1.137 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.476, allocations: 61.2 kB / 1.137 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.476, allocations: 33.12 kB / 1.137 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.476, allocations: 1.875 kB / 1.137 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001415/1.477, allocations: 161.9 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.477, allocations: 0 / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000348/1.477, allocations: 85.09 kB / 1.138 GB, free: 24.12 MB / 0.7292 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 (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.001367/1.478, allocations: 0.9426 MB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00166/1.48, allocations: 0.7107 MB / 1.139 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.48, allocations: 0 / 1.139 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/1.481, allocations: 175.3 kB / 1.139 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/1.481, allocations: 36.12 kB / 1.139 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/1.485, allocations: 1.549 MB / 1.141 GB, free: 21.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.485, allocations: 0.7378 MB / 1.142 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001931/1.485, allocations: 24.88 kB / 1.142 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.486, allocations: 58.61 kB / 1.142 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.14e-05/1.486, allocations: 0 / 1.142 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/1.511, allocations: 4.991 MB / 1.147 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/1.512, allocations: 219.9 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.873, allocations: 0 / 1.147 GB, free: 17.23 MB / 0.7292 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)