Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001041/0.001041, allocations: 183.3 kB / 373 MB, free: 10.15 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.649/1.649, allocations: 205.4 MB / 0.6317 GB, free: 9.801 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.000871, allocations: 102.5 kB / 0.745 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004611, allocations: 15.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2431, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/1.062, allocations: 140.7 MB / 1.118 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.062, allocations: 86 kB / 1.118 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01094/1.073, allocations: 3.716 MB / 1.122 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.073, allocations: 0 / 1.122 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.635e-05/1.073, allocations: 3.688 kB / 1.122 GB, free: 32.03 MB / 0.698 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.001083/1.074, allocations: 0.6213 MB / 1.122 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.074, allocations: 14.11 kB / 1.122 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/1.074, allocations: 24.25 kB / 1.122 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/1.075, allocations: 268.7 kB / 1.123 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/1.075, allocations: 12.09 kB / 1.123 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/1.075, allocations: 15.78 kB / 1.123 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/1.075, allocations: 285.5 kB / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.075, allocations: 192 / 1.123 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/1.075, allocations: 19 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.075, allocations: 3.812 kB / 1.123 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/1.076, allocations: 325 kB / 1.123 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/1.077, allocations: 0.5483 MB / 1.124 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/1.078, allocations: 384.5 kB / 1.124 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/1.078, allocations: 168 kB / 1.124 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/1.078, allocations: 0 / 1.124 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006156/1.079, allocations: 245.3 kB / 1.125 GB, free: 30.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/1.079, allocations: 0 / 1.125 GB, free: 30.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001452/1.081, allocations: 0.5243 MB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/1.081, allocations: 106.7 kB / 1.125 GB, free: 30.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/1.081, allocations: 214.3 kB / 1.125 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/1.081, allocations: 33.39 kB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/1.081, allocations: 128.1 kB / 1.126 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/1.081, allocations: 49.86 kB / 1.126 GB, free: 30.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/1.081, allocations: 0 / 1.126 GB, free: 30.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.081, allocations: 328 kB / 1.126 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/1.082, allocations: 168.7 kB / 1.126 GB, free: 30.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/1.082, allocations: 192.5 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/1.083, allocations: 363.4 kB / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.083, allocations: 0 / 1.127 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009934/1.084, allocations: 463.1 kB / 1.127 GB, free: 29.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/1.084, allocations: 155.9 kB / 1.127 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.084, allocations: 0 / 1.127 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.084, allocations: 0 / 1.127 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/1.084, allocations: 77.2 kB / 1.127 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.084, allocations: 3.984 kB / 1.127 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/1.085, allocations: 69.88 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/1.085, allocations: 7.156 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/1.085, allocations: 3.906 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008309/1.086, allocations: 368.9 kB / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/1.086, allocations: 0 / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/1.086, allocations: 0 / 1.128 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/1.086, allocations: 61.27 kB / 1.128 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/1.086, allocations: 3.844 kB / 1.128 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/1.086, allocations: 57.88 kB / 1.128 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.086, allocations: 11.06 kB / 1.128 GB, free: 29.52 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.0001688/1.086, allocations: 210.8 kB / 1.128 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/1.086, allocations: 17.5 kB / 1.128 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/1.086, allocations: 26.45 kB / 1.128 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/1.086, allocations: 3.906 kB / 1.128 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.086, allocations: 0 / 1.128 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.086, allocations: 0 / 1.128 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/1.087, allocations: 284.8 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.087, allocations: 2.25 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/1.087, allocations: 72.92 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.087, allocations: 0 / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/1.087, allocations: 9.438 kB / 1.128 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.087, allocations: 4 kB / 1.129 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.087, allocations: 0 / 1.129 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/1.088, allocations: 404.5 kB / 1.129 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/1.088, allocations: 99.03 kB / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/1.088, allocations: 7 kB / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/1.089, allocations: 67.06 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.089, allocations: 32.11 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.089, allocations: 3.812 kB / 1.129 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001331/1.089, allocations: 154.2 kB / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.089, allocations: 0 / 1.129 GB, free: 28.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000337/1.089, allocations: 79.84 kB / 1.129 GB, free: 28.81 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.0001642/1.089, allocations: 120.4 kB / 1.129 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.091, allocations: 0.7124 MB / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.091, allocations: 0 / 1.13 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/1.091, allocations: 169.7 kB / 1.13 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/1.092, allocations: 43.78 kB / 1.13 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/1.093, allocations: 448 kB / 1.131 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.093, allocations: 0.7381 MB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00013/1.093, allocations: 22.14 kB / 1.131 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/1.093, allocations: 22.38 kB / 1.132 GB, free: 27.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/1.093, allocations: 0 / 1.132 GB, free: 27.46 MB / 0.698 GB Notification: Performance of Templates: time 0.005872/1.099, allocations: 3.194 MB / 1.135 GB, free: 26.38 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)