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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2266/0.2292, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.004899/0.2341, allocations: 2.005 MB / 0.6726 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2362, allocations: 0.6867 MB / 0.6732 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.2366, allocations: 4 kB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2367, allocations: 19.73 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2372, allocations: 51.5 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.2379, allocations: 155.7 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.2387, allocations: 295.2 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.2389, allocations: 68.22 kB / 0.6738 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.2393, allocations: 115.5 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.2396, allocations: 111.6 kB / 0.674 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.076e-05/0.2397, allocations: 28 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.2397, allocations: 24 kB / 0.6741 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.2398, allocations: 59.77 kB / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.24, allocations: 115.4 kB / 0.6742 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.2405, allocations: 259.1 kB / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2405, allocations: 4 kB / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.105e-06/0.2405, allocations: 0 / 0.6745 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.17e-05/0.2405, allocations: 0 / 0.6745 GB, free: 14.03 MB / 0.5137 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.001684/0.2422, allocations: 0.6267 MB / 0.6751 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.2423, allocations: 8.031 kB / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2424, allocations: 20.75 kB / 0.6751 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.243, allocations: 288.6 kB / 0.6754 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2431, allocations: 16.31 kB / 0.6754 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.2431, allocations: 12.38 kB / 0.6754 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.2439, allocations: 248.9 kB / 0.6757 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2439, allocations: 0 / 0.6757 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.244, allocations: 7.938 kB / 0.6757 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.244, allocations: 4 kB / 0.6757 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.2449, allocations: 223.8 kB / 0.6759 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.2459, allocations: 0.5157 MB / 0.6764 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2471, allocations: 266.5 kB / 0.6766 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.2475, allocations: 120.2 kB / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.2476, allocations: 4 kB / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005898/0.2482, allocations: 191.2 kB / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.2482, allocations: 0 / 0.6769 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.00147/0.2497, allocations: 388.1 kB / 0.6773 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.2497, allocations: 59.41 kB / 0.6774 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2499, allocations: 212.2 kB / 0.6776 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.25, allocations: 29.7 kB / 0.6776 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.2501, allocations: 136.2 kB / 0.6777 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2501, allocations: 43.44 kB / 0.6778 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.2502, allocations: 41.7 kB / 0.6778 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2504, allocations: 334.8 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.2509, allocations: 112.7 kB / 0.6782 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.2513, allocations: 127.8 kB / 0.6784 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.2522, allocations: 271.5 kB / 0.6786 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2522, allocations: 0 / 0.6786 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001032/0.2533, allocations: 360.5 kB / 0.679 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.2533, allocations: 67.39 kB / 0.679 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2533, allocations: 3.984 kB / 0.679 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2534, allocations: 0 / 0.679 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.2537, allocations: 43.94 kB / 0.6791 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2537, allocations: 4 kB / 0.6791 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.254, allocations: 47.8 kB / 0.6791 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.254, allocations: 7.984 kB / 0.6791 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004639/0.2545, allocations: 200 kB / 0.6793 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003706/0.2549, allocations: 103.9 kB / 0.6794 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007174/0.2556, allocations: 266.5 kB / 0.6797 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2556, allocations: 0 / 0.6797 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008751/0.2565, allocations: 336.6 kB / 0.68 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.2565, allocations: 67.97 kB / 0.6801 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.2565, allocations: 3.938 kB / 0.6801 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-06/0.2565, allocations: 0 / 0.6801 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.2568, allocations: 47.94 kB / 0.6801 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2568, allocations: 3.938 kB / 0.6801 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.257, allocations: 39.8 kB / 0.6801 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2571, allocations: 8 kB / 0.6802 GB, free: 7.867 MB / 0.5137 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.2572, allocations: 196.2 kB / 0.6803 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.2572, allocations: 23.75 kB / 0.6804 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.2573, allocations: 21.52 kB / 0.6804 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.2573, allocations: 4 kB / 0.6804 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2573, allocations: 3.938 kB / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2573, allocations: 0 / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2576, allocations: 273.4 kB / 0.6807 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2576, allocations: 3.938 kB / 0.6807 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2579, allocations: 47.94 kB / 0.6807 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2579, allocations: 3.938 kB / 0.6807 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2579, allocations: 11.98 kB / 0.6807 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2579, allocations: 0 / 0.6807 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2579, allocations: 0 / 0.6807 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.2589, allocations: 296.7 kB / 0.681 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.259, allocations: 104.8 kB / 0.6811 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.259, allocations: 4 kB / 0.6811 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.2593, allocations: 43.94 kB / 0.6811 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2594, allocations: 27.97 kB / 0.6812 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2594, allocations: 4 kB / 0.6812 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001403/0.2596, allocations: 159.5 kB / 0.6813 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2596, allocations: 0 / 0.6813 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003127/0.2599, allocations: 71.84 kB / 0.6814 GB, free: 6.496 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.26, allocations: 107.2 kB / 0.6815 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.2616, allocations: 0.5921 MB / 0.6821 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2616, allocations: 0 / 0.6821 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.262, allocations: 131.8 kB / 0.6822 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.2624, allocations: 46.5 kB / 0.6823 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.2633, allocations: 348.6 kB / 0.6826 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.2637, allocations: 0.7285 MB / 0.6833 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.2638, allocations: 33.52 kB / 0.6833 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.2639, allocations: 19.44 kB / 0.6833 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2639, allocations: 0 / 0.6833 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.00758/0.2715, allocations: 3.369 MB / 0.6866 GB, free: 1.051 MB / 0.5137 GB 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)