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.2408/0.2428, allocations: 80.84 MB / 0.5899 GB, free: 7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.004066/0.247, allocations: 2.057 MB / 0.5919 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2483, allocations: 0.6867 MB / 0.5926 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2485, allocations: 4 kB / 0.5926 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.591e-05/0.2486, allocations: 11.86 kB / 0.5926 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.2488, allocations: 39.64 kB / 0.5926 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.2493, allocations: 143.8 kB / 0.5927 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.2496, allocations: 291.2 kB / 0.593 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.2498, allocations: 64.52 kB / 0.5931 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.25, allocations: 115.6 kB / 0.5932 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2502, allocations: 123.4 kB / 0.5933 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.2502, allocations: 28 kB / 0.5933 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.2503, allocations: 24 kB / 0.5934 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.2504, allocations: 55.83 kB / 0.5934 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.2505, allocations: 111.4 kB / 0.5935 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.2508, allocations: 255.2 kB / 0.5938 GB, free: 2.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2508, allocations: 0 / 0.5938 GB, free: 2.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2508, allocations: 0 / 0.5938 GB, free: 2.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2508, allocations: 0 / 0.5938 GB, free: 2.988 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.001428/0.2523, allocations: 0.6345 MB / 0.5944 GB, free: 2.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.2523, allocations: 8.031 kB / 0.5944 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.295e-05/0.2524, allocations: 24.66 kB / 0.5944 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.2529, allocations: 273.7 kB / 0.5947 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2529, allocations: 12.38 kB / 0.5947 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.253, allocations: 12.38 kB / 0.5947 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.2537, allocations: 244.4 kB / 0.5949 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2537, allocations: 0 / 0.5949 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2537, allocations: 4 kB / 0.5949 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2537, allocations: 4 kB / 0.5949 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008355/0.2546, allocations: 223.8 kB / 0.5952 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.2555, allocations: 0.5234 MB / 0.5957 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2565, allocations: 258.5 kB / 0.5959 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.257, allocations: 120.7 kB / 0.596 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.257, allocations: 4 kB / 0.596 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006775/0.2577, allocations: 199.1 kB / 0.5962 GB, free: 292 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.2577, allocations: 0 / 0.5962 GB, free: 292 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001408/0.2591, allocations: 385 kB / 0.5966 GB, free: 15.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.2592, allocations: 59.39 kB / 0.5966 GB, free: 15.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.2594, allocations: 208.3 kB / 0.5968 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.2595, allocations: 37.7 kB / 0.5969 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2596, allocations: 128.3 kB / 0.597 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.2596, allocations: 51.3 kB / 0.597 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.2597, allocations: 37.7 kB / 0.5971 GB, free: 15.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2599, allocations: 326.8 kB / 0.5974 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.2603, allocations: 120.7 kB / 0.5975 GB, free: 14.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.2607, allocations: 115.9 kB / 0.5976 GB, free: 14.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008166/0.2615, allocations: 268.1 kB / 0.5979 GB, free: 14.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.2616, allocations: 4 kB / 0.5979 GB, free: 14.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009928/0.2626, allocations: 364.5 kB / 0.5982 GB, free: 14.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.901e-05/0.2627, allocations: 67.34 kB / 0.5983 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2627, allocations: 0 / 0.5983 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.2627, allocations: 3.984 kB / 0.5983 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.263, allocations: 47.89 kB / 0.5983 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.263, allocations: 0 / 0.5983 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.2633, allocations: 51.78 kB / 0.5984 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.2634, allocations: 4 kB / 0.5984 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004385/0.2638, allocations: 200.9 kB / 0.5986 GB, free: 13.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003385/0.2641, allocations: 106.1 kB / 0.5987 GB, free: 13.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006752/0.2648, allocations: 256.1 kB / 0.5989 GB, free: 13.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.2648, allocations: 3.984 kB / 0.5989 GB, free: 13.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008519/0.2657, allocations: 350.6 kB / 0.5993 GB, free: 13.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2658, allocations: 67.33 kB / 0.5993 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.2658, allocations: 0 / 0.5993 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.2658, allocations: 0 / 0.5993 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.266, allocations: 43.89 kB / 0.5994 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-06/0.266, allocations: 0 / 0.5994 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2662, allocations: 47.88 kB / 0.5994 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.2663, allocations: 4 kB / 0.5994 GB, free: 12.84 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.0001424/0.2664, allocations: 192.2 kB / 0.5996 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.2665, allocations: 23.66 kB / 0.5996 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.2665, allocations: 25.52 kB / 0.5997 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2666, allocations: 4 kB / 0.5997 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.2666, allocations: 4 kB / 0.5997 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2666, allocations: 0 / 0.5997 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.2668, allocations: 269.5 kB / 0.5999 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2668, allocations: 7.938 kB / 0.5999 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2671, allocations: 43.94 kB / 0.6 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2671, allocations: 0 / 0.6 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2671, allocations: 4 kB / 0.6 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2671, allocations: 0 / 0.6 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2671, allocations: 4 kB / 0.6 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.268, allocations: 315.3 kB / 0.6003 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.2681, allocations: 100.8 kB / 0.6004 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.2682, allocations: 8 kB / 0.6004 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2684, allocations: 31.95 kB / 0.6004 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.2685, allocations: 27.95 kB / 0.6004 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2686, allocations: 8 kB / 0.6004 GB, free: 11.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2687, allocations: 167.5 kB / 0.6006 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2687, allocations: 0 / 0.6006 GB, free: 11.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.2691, allocations: 63.91 kB / 0.6007 GB, free: 11.48 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.0001672/0.2693, allocations: 115.1 kB / 0.6008 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.2707, allocations: 0.5923 MB / 0.6014 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2707, allocations: 0 / 0.6014 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.2712, allocations: 131.8 kB / 0.6015 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2716, allocations: 41.19 kB / 0.6015 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2727, allocations: 416.5 kB / 0.6019 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.2731, allocations: 0.7285 MB / 0.6026 GB, free: 9.363 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.2733, allocations: 25.53 kB / 0.6027 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.2734, allocations: 23.44 kB / 0.6027 GB, free: 9.312 MB / 462.1 MB Notification: Performance of SimCode: time 2.495e-06/0.2734, allocations: 0 / 0.6027 GB, free: 9.312 MB / 462.1 MB Notification: Performance of Templates: time 0.006747/0.2801, allocations: 3.064 MB / 0.6057 GB, free: 6.312 MB / 462.1 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)