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.769/1.769, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001163/0.001162, allocations: 184.8 kB / 366.7 MB, free: 1.695 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.141/2.141, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009916/0.0009915, allocations: 81.66 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.172e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8833, allocations: 116.3 MB / 0.9734 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/1.13, allocations: 140.9 MB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/1.13, allocations: 80.44 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01272/1.143, allocations: 3.68 MB / 1.115 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/1.143, allocations: 8 kB / 1.115 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.143, allocations: 0 / 1.115 GB, free: 5.602 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.001231/1.144, allocations: 0.5879 MB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/1.144, allocations: 12.03 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/1.144, allocations: 27.7 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/1.145, allocations: 263.6 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.145, allocations: 7.938 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/1.145, allocations: 8 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000253/1.145, allocations: 99.98 kB / 1.116 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/1.145, allocations: 164.2 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.145, allocations: 0 / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/1.145, allocations: 0 / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/1.145, allocations: 4 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/1.146, allocations: 0.524 MB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/1.147, allocations: 138.6 kB / 1.116 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/1.147, allocations: 64.98 kB / 1.116 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/1.147, allocations: 9.781 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/1.147, allocations: 125 kB / 1.117 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/1.147, allocations: 4 kB / 1.117 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003611/1.148, allocations: 149.3 kB / 1.117 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/1.148, allocations: 110.8 kB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/1.148, allocations: 175.1 kB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/1.148, allocations: 29.7 kB / 1.117 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.148, allocations: 132.3 kB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/1.148, allocations: 35.45 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/1.148, allocations: 4 kB / 1.117 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.148, allocations: 330.8 kB / 1.118 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/1.148, allocations: 52 kB / 1.118 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/1.149, allocations: 74.56 kB / 1.118 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.149, allocations: 46 kB / 1.118 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.149, allocations: 7.969 kB / 1.118 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003098/1.149, allocations: 173.4 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.149, allocations: 157.3 kB / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.149, allocations: 6.594 kB / 1.118 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.149, allocations: 4 kB / 1.118 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/1.15, allocations: 67.94 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/1.15, allocations: 2.266 kB / 1.118 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/1.15, allocations: 71.78 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/1.15, allocations: 11.98 kB / 1.118 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.15, allocations: 4 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002599/1.15, allocations: 138.2 kB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/1.15, allocations: 0 / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/1.15, allocations: 3.984 kB / 1.118 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.151, allocations: 55.95 kB / 1.118 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/1.151, allocations: 0 / 1.118 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/1.151, allocations: 55.94 kB / 1.118 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/1.151, allocations: 4 kB / 1.118 GB, free: 1.469 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.000126/1.151, allocations: 112.9 kB / 1.119 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002669/1.151, allocations: 158.5 kB / 1.119 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/1.151, allocations: 15.81 kB / 1.119 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/1.152, allocations: 21.97 kB / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.152, allocations: 0 / 1.119 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.152, allocations: 7.984 kB / 1.119 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.152, allocations: 0 / 1.119 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/1.152, allocations: 246 kB / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.152, allocations: 4 kB / 1.119 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/1.152, allocations: 71.88 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.152, allocations: 4 kB / 1.119 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.152, allocations: 3.984 kB / 1.119 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.152, allocations: 0 / 1.119 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.152, allocations: 0 / 1.119 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/1.153, allocations: 180.8 kB / 1.119 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/1.153, allocations: 102.4 kB / 1.119 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/1.153, allocations: 4 kB / 1.119 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/1.153, allocations: 59.92 kB / 1.119 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.153, allocations: 38.02 kB / 1.119 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/1.153, allocations: 4 kB / 1.119 GB, free: 384 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001392/1.153, allocations: 137.5 kB / 1.12 GB, free: 248 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 3.938 kB / 1.12 GB, free: 244 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003745/1.154, allocations: 71.84 kB / 1.12 GB, free: 172 kB / 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.0007568/1.154, allocations: 0.731 MB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005806/1.155, allocations: 415.8 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.155, allocations: 0 / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/1.155, allocations: 71.92 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/1.156, allocations: 29.77 kB / 1.121 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/1.156, allocations: 278.2 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/1.157, allocations: 0.7328 MB / 1.122 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001808/1.157, allocations: 29.84 kB / 1.122 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.157, allocations: 63.41 kB / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/1.157, allocations: 0 / 1.122 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/1.186, allocations: 4.577 MB / 1.126 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/1.187, allocations: 175.1 kB / 1.127 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.479, allocations: 4.031 kB / 1.127 GB, free: 9.031 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)