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.705/1.705, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001188/0.001187, allocations: 185 kB / 377.1 MB, free: 1.516 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.074/2.074, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.001088/0.001088, allocations: 98.22 kB / 0.751 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3438, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8999/1.244, allocations: 141.6 MB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.244, allocations: 86.52 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0103/1.254, allocations: 3.709 MB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.255, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.255, allocations: 8 kB / 1.13 GB, free: 30.82 MB / 0.7292 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.001249/1.256, allocations: 0.6186 MB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.256, allocations: 12.02 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.148e-05/1.256, allocations: 25.78 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/1.256, allocations: 262.9 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/1.256, allocations: 11.47 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.256, allocations: 21.16 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008104/1.257, allocations: 296.3 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.257, allocations: 0 / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/1.257, allocations: 4 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.257, allocations: 4.562 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.258, allocations: 319.7 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/1.259, allocations: 0.5522 MB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/1.261, allocations: 390.7 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.261, allocations: 4 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/1.261, allocations: 241.2 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/1.261, allocations: 0 / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001468/1.263, allocations: 0.5195 MB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.263, allocations: 106.8 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/1.263, allocations: 190.9 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.263, allocations: 33.7 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/1.263, allocations: 130.5 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/1.263, allocations: 47.33 kB / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.263, allocations: 4.562 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/1.263, allocations: 328.9 kB / 1.134 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/1.264, allocations: 166 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004838/1.264, allocations: 188.3 kB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/1.265, allocations: 215.6 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.265, allocations: 0 / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001077/1.266, allocations: 455.3 kB / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/1.266, allocations: 150.2 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.266, allocations: 0 / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.266, allocations: 3.938 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/1.267, allocations: 76.77 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.267, allocations: 0.7812 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/1.267, allocations: 72.78 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.267, allocations: 5.406 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/1.267, allocations: 4 kB / 1.136 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008484/1.268, allocations: 372.1 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/1.268, allocations: 1.688 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/1.268, allocations: 4 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/1.268, allocations: 50.14 kB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/1.268, allocations: 0 / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/1.268, allocations: 65.39 kB / 1.136 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.268, allocations: 4.703 kB / 1.136 GB, free: 25.52 MB / 0.7292 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.0001672/1.269, allocations: 218.3 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/1.269, allocations: 17.16 kB / 1.136 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.803e-05/1.269, allocations: 27.97 kB / 1.136 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.269, allocations: 0 / 1.136 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.269, allocations: 0.6094 kB / 1.136 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.269, allocations: 1.594 kB / 1.136 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/1.269, allocations: 286.8 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.269, allocations: 1.312 kB / 1.137 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/1.269, allocations: 72.69 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.269, allocations: 0 / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.269, allocations: 1.594 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.269, allocations: 4.688 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.269, allocations: 0.7969 kB / 1.137 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.27, allocations: 407.5 kB / 1.137 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/1.271, allocations: 106.1 kB / 1.137 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/1.271, allocations: 5.078 kB / 1.137 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/1.271, allocations: 66.61 kB / 1.137 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.271, allocations: 32.56 kB / 1.137 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.271, allocations: 1.406 kB / 1.137 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001521/1.271, allocations: 161.9 kB / 1.137 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.271, allocations: 0 / 1.137 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003669/1.272, allocations: 80.53 kB / 1.138 GB, free: 24.16 MB / 0.7292 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.0001559/1.272, allocations: 110.8 kB / 1.138 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001662/1.273, allocations: 0.713 MB / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.273, allocations: 0 / 1.138 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/1.274, allocations: 178.1 kB / 1.139 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/1.274, allocations: 41.8 kB / 1.139 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/1.276, allocations: 443.9 kB / 1.139 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/1.276, allocations: 0.7346 MB / 1.14 GB, free: 22.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001841/1.276, allocations: 29.14 kB / 1.14 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/1.276, allocations: 21.12 kB / 1.14 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/1.276, allocations: 0 / 1.14 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.009984/1.286, allocations: 3.129 MB / 1.143 GB, free: 20.31 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)