Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8626/0.8626, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001198/0.001198, allocations: 176.6 kB / 171.8 MB, free: 2.051 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.618/1.618, allocations: 170.6 MB / 374.2 MB, free: 17.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001869/0.001869, allocations: 114.7 kB / 444.8 MB, free: 14.85 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1683/0.1683, allocations: 73.41 MB / 0.6666 GB, free: 14.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5713/0.7397, allocations: 102.9 MB / 0.7671 GB, free: 23.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.74, allocations: 79.27 kB / 0.7671 GB, free: 23.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.7539, allocations: 4.821 MB / 0.7719 GB, free: 20.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.754, allocations: 0 / 0.7719 GB, free: 20.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.754, allocations: 4 kB / 0.7719 GB, free: 20.37 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00128/0.7553, allocations: 0.6104 MB / 0.7725 GB, free: 19.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.7553, allocations: 8.031 kB / 0.7725 GB, free: 19.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.7554, allocations: 29.31 kB / 0.7725 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.7559, allocations: 272.4 kB / 0.7727 GB, free: 19.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.756, allocations: 8.547 kB / 0.7728 GB, free: 19.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.756, allocations: 11.81 kB / 0.7728 GB, free: 19.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000233/0.7562, allocations: 92.39 kB / 0.7729 GB, free: 19.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.7565, allocations: 172.3 kB / 0.773 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.7566, allocations: 0 / 0.773 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.7566, allocations: 0.5156 kB / 0.773 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.7566, allocations: 4 kB / 0.773 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/0.7576, allocations: 0.5053 MB / 0.7735 GB, free: 18.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.7579, allocations: 142.6 kB / 0.7737 GB, free: 18.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.758, allocations: 58.95 kB / 0.7737 GB, free: 18.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.7581, allocations: 5.078 kB / 0.7737 GB, free: 18.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.7584, allocations: 129.8 kB / 0.7738 GB, free: 18.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.7584, allocations: 0 / 0.7738 GB, free: 18.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.000349/0.7588, allocations: 144.4 kB / 0.774 GB, free: 18.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.7588, allocations: 107.6 kB / 0.7741 GB, free: 18.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.759, allocations: 178.3 kB / 0.7742 GB, free: 18.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.759, allocations: 32.89 kB / 0.7743 GB, free: 18.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.7591, allocations: 123.2 kB / 0.7744 GB, free: 18.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.7592, allocations: 44.72 kB / 0.7744 GB, free: 18.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.7592, allocations: 5.312 kB / 0.7744 GB, free: 18.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.7593, allocations: 328.4 kB / 0.7748 GB, free: 17.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.7594, allocations: 47.91 kB / 0.7748 GB, free: 17.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.7595, allocations: 90.7 kB / 0.7749 GB, free: 17.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.7596, allocations: 41.64 kB / 0.7749 GB, free: 17.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7596, allocations: 0 / 0.7749 GB, free: 17.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002672/0.7599, allocations: 165 kB / 0.7751 GB, free: 17.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.7599, allocations: 65.64 kB / 0.7752 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7599, allocations: 0 / 0.7752 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.76, allocations: 0 / 0.7752 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.7603, allocations: 73.5 kB / 0.7752 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.7603, allocations: 4.938 kB / 0.7752 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.7607, allocations: 68.91 kB / 0.7753 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7607, allocations: 9.203 kB / 0.7753 GB, free: 17.41 MB / 490.7 MB 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.553e-05/0.7608, allocations: 112.2 kB / 0.7754 GB, free: 17.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.7608, allocations: 20.61 kB / 0.7754 GB, free: 17.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.7609, allocations: 23.83 kB / 0.7754 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7609, allocations: 0 / 0.7754 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.7609, allocations: 0.6094 kB / 0.7754 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.7609, allocations: 0.6094 kB / 0.7754 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.7612, allocations: 251.3 kB / 0.7757 GB, free: 17.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7612, allocations: 0 / 0.7757 GB, free: 17.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.7615, allocations: 73.47 kB / 0.7758 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.7615, allocations: 0 / 0.7758 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.7615, allocations: 5.359 kB / 0.7758 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7615, allocations: 0.875 kB / 0.7758 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7615, allocations: 0.6094 kB / 0.7758 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.7618, allocations: 181.1 kB / 0.7759 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.7618, allocations: 102.8 kB / 0.776 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.7619, allocations: 4.938 kB / 0.776 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.7622, allocations: 67.64 kB / 0.7761 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.7623, allocations: 34.34 kB / 0.7761 GB, free: 16.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.7624, allocations: 5.844 kB / 0.7761 GB, free: 16.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.456e-05/0.7625, allocations: 139.2 kB / 0.7763 GB, free: 16.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7625, allocations: 0 / 0.7763 GB, free: 16.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.7627, allocations: 40.56 kB / 0.7763 GB, free: 16.52 MB / 490.7 MB 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.0001275/0.7629, allocations: 101.6 kB / 0.7764 GB, free: 16.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.7632, allocations: 241.6 kB / 0.7766 GB, free: 16.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7632, allocations: 4 kB / 0.7766 GB, free: 16.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.7633, allocations: 69.28 kB / 0.7767 GB, free: 16.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.7636, allocations: 21.83 kB / 0.7767 GB, free: 16.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.7641, allocations: 212.8 kB / 0.7769 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.7643, allocations: 0.7324 MB / 0.7777 GB, free: 15.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.7644, allocations: 21.42 kB / 0.7777 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.7645, allocations: 20.7 kB / 0.7777 GB, free: 15.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7645, allocations: 0 / 0.7777 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Templates: time 0.005935/0.7704, allocations: 2.416 MB / 0.7801 GB, free: 13.88 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)