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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001003/0.001003, allocations: 168.9 kB / 366.7 MB, free: 1.645 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.464/1.464, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008716/0.0008717, allocations: 82.11 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.705e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6836, allocations: 116.3 MB / 0.9733 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.8852, allocations: 140.9 MB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.8855, allocations: 83.95 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01055/0.896, allocations: 3.675 MB / 1.115 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8961, allocations: 0 / 1.115 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.8961, allocations: 8 kB / 1.115 GB, free: 5.598 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.001009/0.8971, allocations: 0.5869 MB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8972, allocations: 8.031 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.8972, allocations: 29.59 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.8975, allocations: 259.6 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.8976, allocations: 4 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8976, allocations: 8 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.8978, allocations: 111.9 kB / 1.115 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.8981, allocations: 164.2 kB / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8981, allocations: 0 / 1.116 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.8981, allocations: 3.984 kB / 1.116 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8981, allocations: 4 kB / 1.116 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.8989, allocations: 0.5163 MB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.8992, allocations: 142.7 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.8993, allocations: 68.8 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.8993, allocations: 0 / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.8995, allocations: 123.3 kB / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.8995, allocations: 7.938 kB / 1.116 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002985/0.8999, allocations: 155.5 kB / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.8999, allocations: 106.8 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.9001, allocations: 175 kB / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.9001, allocations: 29.7 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.9002, allocations: 132.3 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.9002, allocations: 45.23 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.9003, allocations: 0 / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9004, allocations: 330.8 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.9005, allocations: 51.98 kB / 1.117 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.9006, allocations: 78.56 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.9007, allocations: 50 kB / 1.118 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9007, allocations: 0 / 1.118 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002738/0.901, allocations: 177.3 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.901, allocations: 153.3 kB / 1.118 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.901, allocations: 0 / 1.118 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.9011, allocations: 0 / 1.118 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.9014, allocations: 75.92 kB / 1.118 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.9014, allocations: 0 / 1.118 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.9017, allocations: 69.84 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.9018, allocations: 8 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.9018, allocations: 4 kB / 1.118 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002192/0.902, allocations: 138.2 kB / 1.118 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.902, allocations: 3.984 kB / 1.118 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.902, allocations: 4 kB / 1.118 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.9023, allocations: 57.73 kB / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.9023, allocations: 0 / 1.118 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.9026, allocations: 47.95 kB / 1.118 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.9026, allocations: 7.984 kB / 1.118 GB, free: 1.465 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.0001061/0.9027, allocations: 116.9 kB / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.9028, allocations: 23.67 kB / 1.118 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.9028, allocations: 21.95 kB / 1.118 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9028, allocations: 4 kB / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9028, allocations: 0 / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9028, allocations: 0 / 1.118 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.903, allocations: 246 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.903, allocations: 0 / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.9033, allocations: 71.92 kB / 1.119 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9034, allocations: 1.25 kB / 1.119 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.9034, allocations: 7.953 kB / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.9034, allocations: 0 / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9034, allocations: 5.953 kB / 1.119 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.9036, allocations: 180.8 kB / 1.119 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.9037, allocations: 92.83 kB / 1.119 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.9037, allocations: 9.125 kB / 1.119 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.9041, allocations: 67.88 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.9042, allocations: 27.95 kB / 1.119 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.9042, allocations: 9.875 kB / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.723e-05/0.9043, allocations: 137.5 kB / 1.119 GB, free: 400 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.212e-06/0.9043, allocations: 0 / 1.119 GB, free: 400 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003045/0.9046, allocations: 75.78 kB / 1.119 GB, free: 324 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.0001247/0.9047, allocations: 111.4 kB / 1.119 GB, free: 204 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.9052, allocations: 426 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9052, allocations: 3.938 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.9053, allocations: 67.98 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.9056, allocations: 26.05 kB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.906, allocations: 226.1 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.9063, allocations: 0.7328 MB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000157/0.9065, allocations: 33.83 kB / 1.121 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.9065, allocations: 23.36 kB / 1.121 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9065, allocations: 8 kB / 1.121 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.005483/0.912, allocations: 3.112 MB / 1.124 GB, free: 11.55 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (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 & ./Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)