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 1.488/1.488, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.00117/0.00117, allocations: 177 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009339/0.0009339, allocations: 90.27 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 8.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3135, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5127, allocations: 134.4 MB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.5131, allocations: 83.94 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01134/0.5245, allocations: 3.71 MB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.717e-06/0.5245, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.5246, allocations: 8 kB / 1.035 GB, free: 5.531 MB / 0.6823 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.001375/0.526, allocations: 0.6243 MB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.526, allocations: 8.031 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.5261, allocations: 46.55 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.5262, allocations: 23.81 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.5267, allocations: 267.5 kB / 1.036 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5267, allocations: 15.92 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.5267, allocations: 16 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.5275, allocations: 292 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5276, allocations: 3.938 kB / 1.036 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.5276, allocations: 4 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5276, allocations: 4 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.5286, allocations: 319.7 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.5296, allocations: 0.5647 MB / 1.037 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.5308, allocations: 386.4 kB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.5309, allocations: 4 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.5316, allocations: 239.2 kB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.737e-06/0.5316, allocations: 0 / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001592/0.5332, allocations: 0.5177 MB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.5333, allocations: 106.8 kB / 1.038 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.5335, allocations: 190.3 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.5336, allocations: 33.7 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5337, allocations: 136.3 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.5338, allocations: 47.34 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.5338, allocations: 4 kB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.534, allocations: 330.8 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.5344, allocations: 159.9 kB / 1.039 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.5349, allocations: 195.6 kB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.5355, allocations: 213.1 kB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5355, allocations: 4 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0011/0.5366, allocations: 452.5 kB / 1.04 GB, free: 108 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.5368, allocations: 150.7 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5368, allocations: 0 / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.5368, allocations: 0 / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.5372, allocations: 75.94 kB / 1.04 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5372, allocations: 3.938 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.5376, allocations: 71.84 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.5377, allocations: 7.984 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5377, allocations: 7.938 kB / 1.04 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009802/0.5387, allocations: 365 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.5387, allocations: 0 / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.5387, allocations: 4 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.539, allocations: 51.95 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.539, allocations: 0 / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.5393, allocations: 67.78 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.5394, allocations: 7.938 kB / 1.041 GB, free: 15.28 MB / 0.698 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.0003109/0.5397, allocations: 213 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.5398, allocations: 15.81 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.5399, allocations: 29.52 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-06/0.5399, allocations: 0 / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5399, allocations: 4 kB / 1.041 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.54, allocations: 0 / 1.041 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.5404, allocations: 289.3 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5404, allocations: 0 / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.5408, allocations: 71.94 kB / 1.041 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.5408, allocations: 0 / 1.041 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.5408, allocations: 0 / 1.041 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.5408, allocations: 7.984 kB / 1.041 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5408, allocations: 3.938 kB / 1.041 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.542, allocations: 403.2 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.5422, allocations: 100.8 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.5422, allocations: 3.984 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.5426, allocations: 67.94 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.5427, allocations: 31.94 kB / 1.042 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5427, allocations: 4 kB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002244/0.543, allocations: 160.7 kB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.543, allocations: 4 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004976/0.5435, allocations: 80.09 kB / 1.042 GB, free: 13.73 MB / 0.698 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.001778/0.5453, allocations: 0.9438 MB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.5471, allocations: 0.7082 MB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5471, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005532/0.5477, allocations: 183.2 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.5481, allocations: 31.7 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/0.5522, allocations: 1.546 MB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.5527, allocations: 0.7328 MB / 1.046 GB, free: 9.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.5529, allocations: 29.52 kB / 1.046 GB, free: 9.398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5531, allocations: 63.41 kB / 1.046 GB, free: 9.336 MB / 0.698 GB Notification: Performance of SimCode: time 5.36e-06/0.5531, allocations: 0 / 1.046 GB, free: 9.336 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.5755, allocations: 5.009 MB / 1.051 GB, free: 4.562 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.5758, allocations: 228.3 kB / 1.052 GB, free: 4.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.74, allocations: 0 / 1.052 GB, free: 4.32 MB / 0.698 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)