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.218/0.2192, allocations: 82.21 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.002723/0.222, allocations: 1.709 MB / 0.5958 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2232, allocations: 0.679 MB / 0.5964 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2233, allocations: 4 kB / 0.5964 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.2234, allocations: 11.86 kB / 0.5965 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.2236, allocations: 43.64 kB / 0.5965 GB, free: 3.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.224, allocations: 142.8 kB / 0.5966 GB, free: 2.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.2243, allocations: 259.2 kB / 0.5969 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2245, allocations: 68.5 kB / 0.5969 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.2246, allocations: 87.61 kB / 0.597 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2248, allocations: 111.4 kB / 0.5971 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.2248, allocations: 16 kB / 0.5971 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.2248, allocations: 8 kB / 0.5972 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.2249, allocations: 35.84 kB / 0.5972 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.225, allocations: 117.1 kB / 0.5973 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.2253, allocations: 235.1 kB / 0.5975 GB, free: 2.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2253, allocations: 0 / 0.5975 GB, free: 2.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2253, allocations: 0 / 0.5975 GB, free: 2.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.2253, allocations: 0 / 0.5975 GB, free: 2.039 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.001339/0.2267, allocations: 0.6269 MB / 0.5981 GB, free: 1.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2267, allocations: 8.031 kB / 0.5981 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.2268, allocations: 24.66 kB / 0.5982 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.2272, allocations: 289.6 kB / 0.5984 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2272, allocations: 8.375 kB / 0.5985 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.2273, allocations: 12.38 kB / 0.5985 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.228, allocations: 272.3 kB / 0.5987 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.228, allocations: 0 / 0.5987 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.2281, allocations: 4 kB / 0.5987 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2281, allocations: 4 kB / 0.5987 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.229, allocations: 275.8 kB / 0.599 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.2299, allocations: 0.5196 MB / 0.5995 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2311, allocations: 302.5 kB / 0.5998 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.2316, allocations: 148.8 kB / 0.5999 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.2316, allocations: 7.922 kB / 0.5999 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.2323, allocations: 221.8 kB / 0.6002 GB, free: 15.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.2323, allocations: 0 / 0.6002 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.001603/0.2339, allocations: 457.1 kB / 0.6006 GB, free: 14.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.234, allocations: 55.39 kB / 0.6006 GB, free: 14.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.2342, allocations: 212.3 kB / 0.6008 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2343, allocations: 33.7 kB / 0.6009 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.2344, allocations: 132.2 kB / 0.601 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.2344, allocations: 43.45 kB / 0.601 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.2345, allocations: 21.7 kB / 0.6011 GB, free: 14.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2347, allocations: 334.8 kB / 0.6014 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/0.2352, allocations: 143.9 kB / 0.6015 GB, free: 13.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.2356, allocations: 135.9 kB / 0.6017 GB, free: 13.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/0.2365, allocations: 318.1 kB / 0.602 GB, free: 13.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2366, allocations: 4 kB / 0.602 GB, free: 13.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001082/0.2376, allocations: 416.5 kB / 0.6024 GB, free: 12.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2378, allocations: 157.1 kB / 0.6025 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2378, allocations: 4 kB / 0.6025 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2378, allocations: 0 / 0.6025 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.2381, allocations: 67.88 kB / 0.6026 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2381, allocations: 0 / 0.6026 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.2384, allocations: 55.8 kB / 0.6026 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2385, allocations: 15.98 kB / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.2385, allocations: 6.031 kB / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009213/0.2394, allocations: 362.1 kB / 0.603 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.2394, allocations: 0 / 0.603 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.2394, allocations: 3.938 kB / 0.603 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2397, allocations: 59.89 kB / 0.6031 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.2397, allocations: 0 / 0.6031 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.24, allocations: 59.78 kB / 0.6031 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.24, allocations: 4 kB / 0.6031 GB, free: 12.01 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 (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.0001663/0.2402, allocations: 210 kB / 0.6033 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.2402, allocations: 19.75 kB / 0.6033 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.2403, allocations: 25.52 kB / 0.6034 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2403, allocations: 4 kB / 0.6034 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2403, allocations: 3.938 kB / 0.6034 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2403, allocations: 0 / 0.6034 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.2406, allocations: 269.4 kB / 0.6036 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2406, allocations: 0 / 0.6036 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.2409, allocations: 63.88 kB / 0.6037 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2409, allocations: 3.938 kB / 0.6037 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2409, allocations: 8 kB / 0.6037 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2409, allocations: 0 / 0.6037 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.241, allocations: 3.984 kB / 0.6037 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.242, allocations: 356.6 kB / 0.604 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.242, allocations: 104.8 kB / 0.6041 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2421, allocations: 3.938 kB / 0.6041 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.2424, allocations: 51.95 kB / 0.6042 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2425, allocations: 27.95 kB / 0.6042 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2425, allocations: 7.938 kB / 0.6042 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.2427, allocations: 167.5 kB / 0.6044 GB, free: 10.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2427, allocations: 0 / 0.6044 GB, free: 10.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000316/0.243, allocations: 67.91 kB / 0.6045 GB, free: 10.54 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 (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.0001424/0.2431, allocations: 111.2 kB / 0.6046 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.2447, allocations: 0.6604 MB / 0.6052 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2447, allocations: 0 / 0.6052 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.2452, allocations: 155.8 kB / 0.6054 GB, free: 9.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.2456, allocations: 41.19 kB / 0.6054 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.2465, allocations: 410.7 kB / 0.6058 GB, free: 9.102 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2469, allocations: 0.7365 MB / 0.6065 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.247, allocations: 25.55 kB / 0.6065 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.2471, allocations: 31.36 kB / 0.6066 GB, free: 8.277 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2471, allocations: 3.938 kB / 0.6066 GB, free: 8.273 MB / 462.1 MB Notification: Performance of Templates: time 0.006069/0.2532, allocations: 2.864 MB / 0.6094 GB, free: 5.465 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: