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.725/1.725, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001582/0.001582, allocations: 182.5 kB / 371.6 MB, free: 3.398 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.234/2.234, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001059/0.00106, allocations: 89.25 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.194e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.33, allocations: 141.5 MB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.331, allocations: 80.97 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01086/1.342, allocations: 3.689 MB / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/1.342, allocations: 4 kB / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.552e-05/1.342, allocations: 8 kB / 1.122 GB, free: 40.54 MB / 0.7448 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.001021/1.343, allocations: 0.5893 MB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.343, allocations: 8.031 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/1.343, allocations: 29.44 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/1.343, allocations: 255 kB / 1.123 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.343, allocations: 11.94 kB / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/1.343, allocations: 15.14 kB / 1.123 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/1.344, allocations: 180.5 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.344, allocations: 0.5625 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/1.344, allocations: 7.75 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.344, allocations: 4 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/1.344, allocations: 105.6 kB / 1.123 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/1.345, allocations: 0.5591 MB / 1.123 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/1.345, allocations: 151.5 kB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.345, allocations: 62.81 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/1.345, allocations: 11.3 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/1.345, allocations: 137 kB / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/1.345, allocations: 0 / 1.124 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003342/1.346, allocations: 154.5 kB / 1.124 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.346, allocations: 110.2 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/1.346, allocations: 185.7 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.346, allocations: 36.12 kB / 1.124 GB, free: 38.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/1.346, allocations: 134.4 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/1.346, allocations: 47.83 kB / 1.124 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/1.346, allocations: 7.5 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/1.346, allocations: 328.6 kB / 1.125 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/1.346, allocations: 49.88 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.347, allocations: 84.86 kB / 1.125 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/1.347, allocations: 106.4 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.347, allocations: 0 / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003073/1.347, allocations: 235.8 kB / 1.125 GB, free: 37.56 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/1.347, allocations: 154.7 kB / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.347, allocations: 0 / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.347, allocations: 0 / 1.125 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.347, allocations: 76 kB / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.347, allocations: 0 / 1.125 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/1.348, allocations: 77 kB / 1.125 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/1.348, allocations: 4 kB / 1.125 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/1.348, allocations: 4 kB / 1.125 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002597/1.348, allocations: 203 kB / 1.126 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/1.348, allocations: 1.172 kB / 1.126 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/1.348, allocations: 4.5 kB / 1.126 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.348, allocations: 65 kB / 1.126 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/1.348, allocations: 0.5625 kB / 1.126 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/1.349, allocations: 63.86 kB / 1.126 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/1.349, allocations: 4.75 kB / 1.126 GB, free: 37.03 MB / 0.7448 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 8.503e-05/1.349, allocations: 122.6 kB / 1.126 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/1.349, allocations: 15.81 kB / 1.126 GB, free: 36.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/1.349, allocations: 17.66 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.349, allocations: 7.984 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.349, allocations: 4 kB / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.349, allocations: 0 / 1.126 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/1.349, allocations: 285.7 kB / 1.126 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.349, allocations: 8.438 kB / 1.126 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/1.349, allocations: 68.2 kB / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.349, allocations: 4.75 kB / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.349, allocations: 4.469 kB / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.349, allocations: 0 / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.349, allocations: 0 / 1.126 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/1.35, allocations: 188.6 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/1.35, allocations: 92.88 kB / 1.127 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/1.35, allocations: 11.19 kB / 1.127 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/1.35, allocations: 60.39 kB / 1.127 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/1.35, allocations: 40.91 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/1.35, allocations: 5.438 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001054/1.35, allocations: 154.6 kB / 1.127 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/1.35, allocations: 0 / 1.127 GB, free: 36.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003053/1.351, allocations: 82.52 kB / 1.127 GB, free: 36.05 MB / 0.7448 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.0001491/1.351, allocations: 118.9 kB / 1.127 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004679/1.351, allocations: 439 kB / 1.127 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.351, allocations: 0 / 1.127 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/1.351, allocations: 78.16 kB / 1.128 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/1.352, allocations: 35.33 kB / 1.128 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/1.352, allocations: 231.9 kB / 1.128 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/1.352, allocations: 0.7332 MB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000161/1.353, allocations: 33.95 kB / 1.129 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/1.353, allocations: 21.95 kB / 1.129 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.353, allocations: 0 / 1.129 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.006211/1.359, allocations: 3.439 MB / 1.132 GB, free: 32.62 MB / 0.7448 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)