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.6768/0.6768, allocations: 132.3 MB / 144.9 MB, free: 10.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001849/0.001849, allocations: 170 kB / 176.9 MB, free: 2.254 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.306/1.306, allocations: 170.5 MB / 379.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001617/0.001617, allocations: 117.9 kB / 450 MB, free: 5.762 MB / 346.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.4424/0.4424, allocations: 73.39 MB / 0.6736 GB, free: 47.62 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.5776, allocations: 103.5 MB / 0.7747 GB, free: 13.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.5779, allocations: 75.72 kB / 0.7748 GB, free: 13.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.5928, allocations: 4.852 MB / 0.7795 GB, free: 8.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5929, allocations: 0 / 0.7795 GB, free: 8.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.5929, allocations: 4 kB / 0.7795 GB, free: 8.285 MB / 490.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.00116/0.5941, allocations: 0.615 MB / 0.7801 GB, free: 7.613 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5941, allocations: 8.031 kB / 0.7801 GB, free: 7.605 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.5942, allocations: 27.72 kB / 0.7802 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.5947, allocations: 265.7 kB / 0.7804 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5947, allocations: 16.17 kB / 0.7804 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.5947, allocations: 12 kB / 0.7804 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.5951, allocations: 174.3 kB / 0.7806 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5951, allocations: 0 / 0.7806 GB, free: 7.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.5951, allocations: 11.59 kB / 0.7806 GB, free: 7.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5951, allocations: 4 kB / 0.7806 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.5954, allocations: 101.6 kB / 0.7807 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.5962, allocations: 0.5597 MB / 0.7813 GB, free: 6.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.5966, allocations: 150.2 kB / 0.7814 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.5967, allocations: 67.75 kB / 0.7815 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5967, allocations: 4 kB / 0.7815 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.597, allocations: 135.8 kB / 0.7816 GB, free: 5.984 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.597, allocations: 4 kB / 0.7816 GB, free: 5.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003373/0.5974, allocations: 151.2 kB / 0.7818 GB, free: 5.828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.5974, allocations: 114.8 kB / 0.7819 GB, free: 5.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5976, allocations: 186 kB / 0.782 GB, free: 5.504 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.5977, allocations: 33.69 kB / 0.7821 GB, free: 5.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.5978, allocations: 132 kB / 0.7822 GB, free: 5.332 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.5978, allocations: 43.36 kB / 0.7822 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5978, allocations: 0 / 0.7822 GB, free: 5.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.598, allocations: 334.8 kB / 0.7826 GB, free: 4.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5981, allocations: 48 kB / 0.7826 GB, free: 4.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.5982, allocations: 86.5 kB / 0.7827 GB, free: 4.812 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.5983, allocations: 100.6 kB / 0.7828 GB, free: 4.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5984, allocations: 4.031 kB / 0.7828 GB, free: 4.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003719/0.5987, allocations: 242.3 kB / 0.783 GB, free: 4.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.5988, allocations: 57.44 kB / 0.7831 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5988, allocations: 0 / 0.7831 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5988, allocations: 4 kB / 0.7831 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5991, allocations: 75.86 kB / 0.7831 GB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5992, allocations: 4 kB / 0.7832 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.5995, allocations: 67.88 kB / 0.7832 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5995, allocations: 8 kB / 0.7832 GB, free: 4.223 MB / 490.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 9.507e-05/0.5996, allocations: 118 kB / 0.7833 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.5997, allocations: 19.72 kB / 0.7834 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.5997, allocations: 21.66 kB / 0.7834 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5997, allocations: 0 / 0.7834 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5997, allocations: 0 / 0.7834 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5998, allocations: 9.766 kB / 0.7834 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.6, allocations: 289.4 kB / 0.7837 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6, allocations: 0 / 0.7837 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.6003, allocations: 67.88 kB / 0.7837 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6003, allocations: 4 kB / 0.7837 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.6004, allocations: 0 / 0.7837 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.6004, allocations: 6.422 kB / 0.7837 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6004, allocations: 0 / 0.7837 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.6007, allocations: 196.7 kB / 0.7839 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.6007, allocations: 92.86 kB / 0.784 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.6008, allocations: 8 kB / 0.784 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.6011, allocations: 63.92 kB / 0.7841 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.6012, allocations: 31.95 kB / 0.7841 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.6012, allocations: 4 kB / 0.7841 GB, free: 3.227 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.6014, allocations: 156.4 kB / 0.7843 GB, free: 3.074 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6014, allocations: 0 / 0.7843 GB, free: 3.074 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000221/0.6016, allocations: 43.98 kB / 0.7843 GB, free: 3.031 MB / 490.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.0001479/0.6018, allocations: 108.7 kB / 0.7844 GB, free: 2.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.6021, allocations: 247.6 kB / 0.7846 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6021, allocations: 0 / 0.7846 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6023, allocations: 71.98 kB / 0.7847 GB, free: 2.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.6025, allocations: 31.94 kB / 0.7847 GB, free: 2.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.603, allocations: 217.2 kB / 0.785 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.6033, allocations: 0.7403 MB / 0.7857 GB, free: 1.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.6034, allocations: 21.53 kB / 0.7857 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.6035, allocations: 19.42 kB / 0.7857 GB, free: 1.512 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6035, allocations: 0 / 0.7857 GB, free: 1.512 MB / 490.7 MB Notification: Performance of Templates: time 0.00528/0.6087, allocations: 2.661 MB / 0.7883 GB, free: 14.91 MB / 0.4948 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)