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.817/0.817, allocations: 132.4 MB / 139.9 MB, free: 2.816 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.001385/0.001386, allocations: 179.4 kB / 171.8 MB, free: 4.922 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.508/1.508, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001704/0.001704, allocations: 100.9 kB / 444.8 MB, free: 14.16 MB / 314.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.2012/0.2013, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6458/0.8472, allocations: 102.9 MB / 0.7671 GB, free: 12.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.8475, allocations: 75.95 kB / 0.7671 GB, free: 12.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.8622, allocations: 4.822 MB / 0.7719 GB, free: 7.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.8623, allocations: 0 / 0.7719 GB, free: 7.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.8623, allocations: 0 / 0.7719 GB, free: 7.859 MB / 474.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.001221/0.8636, allocations: 0.61 MB / 0.7724 GB, free: 7.191 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.8636, allocations: 8.031 kB / 0.7725 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.8637, allocations: 27.72 kB / 0.7725 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.8642, allocations: 270.8 kB / 0.7727 GB, free: 6.852 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.8642, allocations: 8 kB / 0.7727 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.8642, allocations: 11.98 kB / 0.7728 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002677/0.8645, allocations: 96.36 kB / 0.7729 GB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.8648, allocations: 174 kB / 0.773 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8648, allocations: 0 / 0.773 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.8649, allocations: 3.938 kB / 0.773 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8649, allocations: 4 kB / 0.773 GB, free: 6.547 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.8658, allocations: 0.4975 MB / 0.7735 GB, free: 6.012 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.8661, allocations: 154.7 kB / 0.7737 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.8663, allocations: 53.86 kB / 0.7737 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.8663, allocations: 0 / 0.7737 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000272/0.8666, allocations: 131.3 kB / 0.7738 GB, free: 5.656 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.8666, allocations: 0 / 0.7738 GB, free: 5.656 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003684/0.867, allocations: 149.4 kB / 0.774 GB, free: 5.504 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.867, allocations: 114.7 kB / 0.7741 GB, free: 5.367 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.8672, allocations: 173.9 kB / 0.7743 GB, free: 5.188 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.8673, allocations: 25.7 kB / 0.7743 GB, free: 5.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.8674, allocations: 124.3 kB / 0.7744 GB, free: 5.031 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.8675, allocations: 47.36 kB / 0.7744 GB, free: 4.984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.8675, allocations: 4 kB / 0.7744 GB, free: 4.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8676, allocations: 330.8 kB / 0.7748 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.8678, allocations: 48 kB / 0.7748 GB, free: 4.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.8679, allocations: 78.56 kB / 0.7749 GB, free: 4.516 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.868, allocations: 43.25 kB / 0.7749 GB, free: 4.477 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.868, allocations: 0 / 0.7749 GB, free: 4.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002962/0.8683, allocations: 169.4 kB / 0.7751 GB, free: 4.305 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.718e-05/0.8684, allocations: 63.41 kB / 0.7751 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8684, allocations: 4.031 kB / 0.7751 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8684, allocations: 3.938 kB / 0.7752 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.8687, allocations: 67.92 kB / 0.7752 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8688, allocations: 4 kB / 0.7752 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.8691, allocations: 67.78 kB / 0.7753 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.8691, allocations: 12 kB / 0.7753 GB, free: 4.074 MB / 474.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.0001163/0.8693, allocations: 108.9 kB / 0.7754 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.8693, allocations: 19.8 kB / 0.7754 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.8694, allocations: 21.91 kB / 0.7754 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8694, allocations: 4 kB / 0.7754 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8694, allocations: 0 / 0.7754 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8694, allocations: 0 / 0.7754 GB, free: 3.914 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.8697, allocations: 253.9 kB / 0.7757 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8697, allocations: 3.938 kB / 0.7757 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.87, allocations: 67.94 kB / 0.7758 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.87, allocations: 0 / 0.7758 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.87, allocations: 4 kB / 0.7758 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.87, allocations: 11.94 kB / 0.7758 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.8701, allocations: 0 / 0.7758 GB, free: 3.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.8704, allocations: 181.5 kB / 0.7759 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.8704, allocations: 96.84 kB / 0.776 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.8705, allocations: 4 kB / 0.776 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.8708, allocations: 67.88 kB / 0.7761 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8709, allocations: 23.95 kB / 0.7761 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.871, allocations: 11.98 kB / 0.7761 GB, free: 3.129 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.8711, allocations: 136.3 kB / 0.7763 GB, free: 2.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8711, allocations: 0 / 0.7763 GB, free: 2.996 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.8714, allocations: 44 kB / 0.7763 GB, free: 2.953 MB / 474.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.0001656/0.8715, allocations: 103.2 kB / 0.7764 GB, free: 2.844 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.8719, allocations: 239.9 kB / 0.7766 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8719, allocations: 0 / 0.7766 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.872, allocations: 63.94 kB / 0.7767 GB, free: 2.523 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.8723, allocations: 31.94 kB / 0.7767 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.8728, allocations: 217.3 kB / 0.7769 GB, free: 2.262 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.8732, allocations: 0.7282 MB / 0.7776 GB, free: 1.504 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.8733, allocations: 21.33 kB / 0.7777 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.8734, allocations: 15.44 kB / 0.7777 GB, free: 1.469 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8734, allocations: 7.938 kB / 0.7777 GB, free: 1.461 MB / 474.7 MB Notification: Performance of Templates: time 0.005639/0.879, allocations: 2.419 MB / 0.7801 GB, free: 15.06 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)