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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8535/0.8535, allocations: 132.4 MB / 139.7 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001497/0.001497, allocations: 179.9 kB / 171.6 MB, free: 5.129 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.6/1.6, allocations: 170.5 MB / 373.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001853/0.001853, allocations: 102.9 kB / 444.4 MB, free: 2.461 MB / 330.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.1277/0.1277, allocations: 73.4 MB / 0.666 GB, free: 50.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5225, allocations: 102.8 MB / 0.7664 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.5228, allocations: 73.64 kB / 0.7665 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.01552/0.5383, allocations: 4.586 MB / 0.771 GB, free: 11.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5384, allocations: 7.938 kB / 0.771 GB, free: 11.21 MB / 458.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.001381/0.5398, allocations: 0.6319 MB / 0.7716 GB, free: 10.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5399, allocations: 12.03 kB / 0.7716 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.54, allocations: 23.72 kB / 0.7716 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.5405, allocations: 272.8 kB / 0.7719 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.5406, allocations: 4 kB / 0.7719 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.5406, allocations: 8 kB / 0.7719 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002492/0.5409, allocations: 96.08 kB / 0.772 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.5412, allocations: 166.5 kB / 0.7721 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5412, allocations: 0 / 0.7721 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.5412, allocations: 0 / 0.7721 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.5413, allocations: 4 kB / 0.7721 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.5423, allocations: 0.5236 MB / 0.7726 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5426, allocations: 133.1 kB / 0.7728 GB, free: 9.438 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.5428, allocations: 53.55 kB / 0.7728 GB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.5428, allocations: 11.59 kB / 0.7728 GB, free: 9.395 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.543, allocations: 114 kB / 0.7729 GB, free: 9.293 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 3.376e-06/0.543, allocations: 3.938 kB / 0.773 GB, free: 9.289 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003425/0.5434, allocations: 141.7 kB / 0.7731 GB, free: 9.172 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.5435, allocations: 110.2 kB / 0.7732 GB, free: 9.043 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5437, allocations: 164.4 kB / 0.7733 GB, free: 8.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5437, allocations: 32.27 kB / 0.7734 GB, free: 8.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.5438, allocations: 107.1 kB / 0.7735 GB, free: 8.738 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.5439, allocations: 46.08 kB / 0.7735 GB, free: 8.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.5439, allocations: 0 / 0.7735 GB, free: 8.699 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.544, allocations: 329 kB / 0.7738 GB, free: 8.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.5441, allocations: 52.22 kB / 0.7739 GB, free: 8.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.5443, allocations: 81.52 kB / 0.774 GB, free: 8.285 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.887e-05/0.5444, allocations: 39.7 kB / 0.774 GB, free: 8.262 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5444, allocations: 0 / 0.774 GB, free: 8.262 MB / 458.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003058/0.5447, allocations: 164 kB / 0.7742 GB, free: 8.129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5447, allocations: 5.719 kB / 0.7742 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5447, allocations: 4 kB / 0.7742 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5447, allocations: 0 / 0.7742 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.5451, allocations: 75.88 kB / 0.7742 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5451, allocations: 11.91 kB / 0.7743 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.5455, allocations: 67.88 kB / 0.7743 GB, free: 7.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.5456, allocations: 11.98 kB / 0.7743 GB, free: 7.961 MB / 458.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 0.0001393/0.5457, allocations: 117.6 kB / 0.7744 GB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.5457, allocations: 19.81 kB / 0.7745 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.5458, allocations: 20.58 kB / 0.7745 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5458, allocations: 0 / 0.7745 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5458, allocations: 3.938 kB / 0.7745 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5458, allocations: 0 / 0.7745 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.5461, allocations: 246.4 kB / 0.7747 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5461, allocations: 4 kB / 0.7747 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.5464, allocations: 74.69 kB / 0.7748 GB, free: 7.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5465, allocations: 4 kB / 0.7748 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.5465, allocations: 3.984 kB / 0.7748 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.5465, allocations: 0 / 0.7748 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5465, allocations: 4 kB / 0.7748 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002863/0.5468, allocations: 177.6 kB / 0.775 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.5469, allocations: 92.92 kB / 0.7751 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.5469, allocations: 0 / 0.7751 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.5473, allocations: 71.88 kB / 0.7751 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.5474, allocations: 35.66 kB / 0.7752 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.5475, allocations: 4 kB / 0.7752 GB, free: 7.105 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001184/0.5476, allocations: 137.1 kB / 0.7753 GB, free: 6.992 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.5478, allocations: 39.94 kB / 0.7753 GB, free: 6.953 MB / 458.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.0001559/0.548, allocations: 107.2 kB / 0.7754 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.5484, allocations: 182.3 kB / 0.7756 GB, free: 6.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5484, allocations: 0 / 0.7756 GB, free: 6.691 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5485, allocations: 69.44 kB / 0.7757 GB, free: 6.645 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5488, allocations: 26.7 kB / 0.7757 GB, free: 6.625 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.5494, allocations: 222 kB / 0.7759 GB, free: 6.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.5499, allocations: 0.7585 MB / 0.7767 GB, free: 5.633 MB / 458.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5499, allocations: 0 / 0.7767 GB, free: 5.633 MB / 458.7 MB Notification: Performance of Templates: time 0.006673/0.5566, allocations: 2.9 MB / 0.7795 GB, free: 2.766 MB / 458.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)