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: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 252 MB / 267.9 MB, free: 10.93 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.001056/0.001056, allocations: 175.1 kB / 327.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007293/0.0007292, allocations: 90.42 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12.06 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1435/0.3236, allocations: 134.4 MB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.3239, allocations: 83.95 kB / 1.033 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009985/0.3339, allocations: 3.724 MB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3339, allocations: 4 kB / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.3339, allocations: 4 kB / 1.036 GB, free: 5.324 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.001088/0.335, allocations: 0.609 MB / 1.037 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3351, allocations: 15.97 kB / 1.037 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3352, allocations: 28.66 kB / 1.037 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3355, allocations: 272.7 kB / 1.037 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.3355, allocations: 8.375 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3356, allocations: 16.38 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.3363, allocations: 292.5 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3363, allocations: 4.125 kB / 1.037 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3364, allocations: 11.94 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3364, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.3373, allocations: 323.7 kB / 1.038 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.3381, allocations: 0.5587 MB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009911/0.3391, allocations: 382.4 kB / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.3396, allocations: 164.7 kB / 1.039 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.3396, allocations: 0 / 1.039 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.3403, allocations: 251 kB / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.3403, allocations: 0 / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001429/0.3417, allocations: 0.518 MB / 1.04 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3418, allocations: 110.8 kB / 1.04 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.342, allocations: 211.2 kB / 1.04 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.342, allocations: 33.7 kB / 1.04 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3421, allocations: 136.2 kB / 1.04 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.3422, allocations: 39.45 kB / 1.04 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.3422, allocations: 0 / 1.04 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3423, allocations: 330.8 kB / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.3427, allocations: 163.9 kB / 1.041 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.3432, allocations: 190.4 kB / 1.041 GB, free: 464 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.3441, allocations: 370.3 kB / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3441, allocations: 0 / 1.041 GB, free: 80 kB / 0.6823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001009/0.3451, allocations: 452.7 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.611e-05/0.3452, allocations: 154.7 kB / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3452, allocations: 0 / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3452, allocations: 3.938 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.3455, allocations: 79.86 kB / 1.042 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3455, allocations: 4 kB / 1.042 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3459, allocations: 67.84 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3459, allocations: 8 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.3459, allocations: 4 kB / 1.042 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007985/0.3467, allocations: 368.8 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3467, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.3467, allocations: 3.938 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.347, allocations: 63.83 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.347, allocations: 3.984 kB / 1.042 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.3472, allocations: 67.78 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3473, allocations: 4 kB / 1.042 GB, free: 14.77 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.0001588/0.3474, allocations: 205.1 kB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3475, allocations: 19.72 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3475, allocations: 29.45 kB / 1.043 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3476, allocations: 4 kB / 1.043 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3476, allocations: 4 kB / 1.043 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3476, allocations: 0 / 1.043 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.3478, allocations: 273.4 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.3478, allocations: 7.984 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.3481, allocations: 71.88 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3481, allocations: 4 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3482, allocations: 3.938 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3482, allocations: 0 / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3482, allocations: 0 / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.3491, allocations: 406.8 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.3492, allocations: 104.8 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3492, allocations: 7.938 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.3495, allocations: 67.92 kB / 1.043 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.3496, allocations: 27.95 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3496, allocations: 8 kB / 1.043 GB, free: 13.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001293/0.3498, allocations: 156.7 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3498, allocations: 4 kB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003422/0.3501, allocations: 79.84 kB / 1.044 GB, free: 13.22 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.000144/0.3503, allocations: 111.2 kB / 1.044 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.3517, allocations: 0.7004 MB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3517, allocations: 0 / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3522, allocations: 183.8 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3525, allocations: 42.59 kB / 1.045 GB, free: 12.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.3534, allocations: 447.5 kB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3537, allocations: 0.7326 MB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.3538, allocations: 21.55 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.3539, allocations: 31.42 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.3539, allocations: 0 / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of Templates: time 0.006228/0.3602, allocations: 3.185 MB / 1.049 GB, free: 7.73 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)