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.176/0.1768, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.002499/0.1793, allocations: 1.634 MB / 0.595 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1805, allocations: 0.6443 MB / 0.5956 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1806, allocations: 3.938 kB / 0.5956 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.1807, allocations: 15.8 kB / 0.5956 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1808, allocations: 47.84 kB / 0.5957 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1812, allocations: 111.8 kB / 0.5958 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.1815, allocations: 163.7 kB / 0.5959 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1816, allocations: 48.75 kB / 0.596 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1818, allocations: 87.67 kB / 0.596 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.182, allocations: 103.6 kB / 0.5961 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.182, allocations: 8 kB / 0.5962 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.182, allocations: 15.94 kB / 0.5962 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1821, allocations: 35.83 kB / 0.5962 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.1821, allocations: 57.64 kB / 0.5963 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1824, allocations: 179.5 kB / 0.5964 GB, free: 2.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1824, allocations: 0 / 0.5964 GB, free: 2.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1824, allocations: 0 / 0.5964 GB, free: 2.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1825, allocations: 8 kB / 0.5964 GB, free: 2.84 MB / 446.1 MB 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.001295/0.1838, allocations: 0.6219 MB / 0.597 GB, free: 2.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1838, allocations: 12.03 kB / 0.5971 GB, free: 2.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.1839, allocations: 23.72 kB / 0.5971 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.1843, allocations: 272.2 kB / 0.5973 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1843, allocations: 8 kB / 0.5973 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1843, allocations: 15.95 kB / 0.5974 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.1851, allocations: 268 kB / 0.5976 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1851, allocations: 0 / 0.5976 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1851, allocations: 4 kB / 0.5976 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1852, allocations: 4 kB / 0.5976 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.186, allocations: 275.7 kB / 0.5979 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.1869, allocations: 0.5157 MB / 0.5984 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.188, allocations: 318.5 kB / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1881, allocations: 0 / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006165/0.1887, allocations: 223.1 kB / 0.5989 GB, free: 124 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1887, allocations: 3.938 kB / 0.5989 GB, free: 120 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.00149/0.1902, allocations: 453.1 kB / 0.5993 GB, free: 15.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1903, allocations: 59.39 kB / 0.5994 GB, free: 15.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1905, allocations: 212.2 kB / 0.5996 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.1905, allocations: 37.69 kB / 0.5996 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.1906, allocations: 124.3 kB / 0.5998 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.1907, allocations: 51.3 kB / 0.5998 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.1907, allocations: 0 / 0.5998 GB, free: 15.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1909, allocations: 338.8 kB / 0.6001 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.1913, allocations: 131.9 kB / 0.6003 GB, free: 14.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.1918, allocations: 143.8 kB / 0.6004 GB, free: 14.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.1923, allocations: 187.2 kB / 0.6006 GB, free: 14.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1923, allocations: 0 / 0.6006 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00111/0.1934, allocations: 400.7 kB / 0.601 GB, free: 13.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.1936, allocations: 157.1 kB / 0.6011 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1936, allocations: 0 / 0.6011 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1936, allocations: 0 / 0.6011 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.1939, allocations: 63.88 kB / 0.6012 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1939, allocations: 0 / 0.6012 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.1942, allocations: 63.78 kB / 0.6012 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1942, allocations: 4 kB / 0.6012 GB, free: 13.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.1942, allocations: 8 kB / 0.6012 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009696/0.1952, allocations: 368.9 kB / 0.6016 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.1952, allocations: 0 / 0.6016 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-06/0.1952, allocations: 0 / 0.6016 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1955, allocations: 63.89 kB / 0.6016 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1955, allocations: 7.984 kB / 0.6017 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.1958, allocations: 47.89 kB / 0.6017 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.1959, allocations: 8 kB / 0.6017 GB, free: 13.14 MB / 462.1 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 () * 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.0001504/0.196, allocations: 213.1 kB / 0.6019 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1961, allocations: 23.67 kB / 0.6019 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1961, allocations: 21.52 kB / 0.602 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1961, allocations: 4 kB / 0.602 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1961, allocations: 0 / 0.602 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1961, allocations: 0 / 0.602 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.1965, allocations: 269.5 kB / 0.6022 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1965, allocations: 0 / 0.6022 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.1968, allocations: 63.88 kB / 0.6023 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1968, allocations: 3.953 kB / 0.6023 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1968, allocations: 3.984 kB / 0.6023 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1968, allocations: 4 kB / 0.6023 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1968, allocations: 0 / 0.6023 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1979, allocations: 362 kB / 0.6026 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.198, allocations: 92.91 kB / 0.6027 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.1981, allocations: 11.95 kB / 0.6027 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.1983, allocations: 47.94 kB / 0.6028 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.1984, allocations: 35.89 kB / 0.6028 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1985, allocations: 4 kB / 0.6028 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1986, allocations: 163.5 kB / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1986, allocations: 0 / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1989, allocations: 75.84 kB / 0.603 GB, free: 11.67 MB / 462.1 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) * 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.0001153/0.199, allocations: 103.2 kB / 0.6031 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.2006, allocations: 0.6601 MB / 0.6038 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2006, allocations: 0 / 0.6038 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.2011, allocations: 155.8 kB / 0.6039 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2014, allocations: 41.23 kB / 0.604 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.2023, allocations: 407.7 kB / 0.6044 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.2028, allocations: 0.7328 MB / 0.6051 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.2029, allocations: 25.53 kB / 0.6051 GB, free: 9.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.203, allocations: 23.44 kB / 0.6051 GB, free: 9.43 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.203, allocations: 0 / 0.6051 GB, free: 9.43 MB / 462.1 MB Notification: Performance of Templates: time 0.005665/0.2087, allocations: 2.78 MB / 0.6078 GB, free: 6.707 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: