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.2376/0.241, allocations: 80.82 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.003687/0.2448, allocations: 2.067 MB / 0.5917 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.246, allocations: 0.6867 MB / 0.5924 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2462, allocations: 4 kB / 0.5924 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.2462, allocations: 11.86 kB / 0.5924 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.2464, allocations: 39.64 kB / 0.5924 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.2468, allocations: 147.3 kB / 0.5926 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.2471, allocations: 263.2 kB / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2473, allocations: 68.5 kB / 0.5929 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2475, allocations: 95.59 kB / 0.593 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2476, allocations: 119.4 kB / 0.5931 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.2477, allocations: 12 kB / 0.5931 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.2477, allocations: 12 kB / 0.5931 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.2478, allocations: 43.81 kB / 0.5931 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2479, allocations: 95.45 kB / 0.5932 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2482, allocations: 243.2 kB / 0.5935 GB, free: 3.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2482, allocations: 0 / 0.5935 GB, free: 3.203 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2482, allocations: 4 kB / 0.5935 GB, free: 3.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2482, allocations: 4 kB / 0.5935 GB, free: 3.195 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.001396/0.2496, allocations: 0.6267 MB / 0.5941 GB, free: 2.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.2497, allocations: 12.03 kB / 0.5941 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.2497, allocations: 28.66 kB / 0.5941 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.2502, allocations: 277.7 kB / 0.5944 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.2502, allocations: 8.375 kB / 0.5944 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2503, allocations: 16.38 kB / 0.5944 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.2509, allocations: 240.4 kB / 0.5946 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.251, allocations: 4 kB / 0.5946 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.251, allocations: 4 kB / 0.5946 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.251, allocations: 4 kB / 0.5947 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.2519, allocations: 223.8 kB / 0.5949 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.2527, allocations: 0.5157 MB / 0.5954 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2537, allocations: 262.5 kB / 0.5956 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.2541, allocations: 120.7 kB / 0.5957 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2541, allocations: 0 / 0.5957 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.2548, allocations: 195.1 kB / 0.5959 GB, free: 0.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2548, allocations: 4 kB / 0.5959 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001341/0.2561, allocations: 384.1 kB / 0.5963 GB, free: 120 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2562, allocations: 55.41 kB / 0.5963 GB, free: 52 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.2564, allocations: 216.3 kB / 0.5966 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.2564, allocations: 33.7 kB / 0.5966 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.2565, allocations: 124.3 kB / 0.5967 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.2566, allocations: 51.3 kB / 0.5968 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/0.2567, allocations: 37.7 kB / 0.5968 GB, free: 15.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2568, allocations: 334.8 kB / 0.5971 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.2572, allocations: 116.7 kB / 0.5972 GB, free: 15.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.2577, allocations: 115.9 kB / 0.5973 GB, free: 15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.2585, allocations: 272 kB / 0.5976 GB, free: 14.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2585, allocations: 0 / 0.5976 GB, free: 14.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009643/0.2594, allocations: 368.5 kB / 0.5979 GB, free: 14.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.2595, allocations: 65.22 kB / 0.598 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2595, allocations: 0 / 0.598 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.2596, allocations: 0 / 0.598 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.2599, allocations: 55.88 kB / 0.5981 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2599, allocations: 4 kB / 0.5981 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.2602, allocations: 47.78 kB / 0.5981 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2602, allocations: 4 kB / 0.5981 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004612/0.2607, allocations: 200.9 kB / 0.5983 GB, free: 13.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003738/0.2611, allocations: 110.1 kB / 0.5984 GB, free: 13.85 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007368/0.2618, allocations: 256.1 kB / 0.5986 GB, free: 13.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.2618, allocations: 0 / 0.5986 GB, free: 13.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008787/0.2627, allocations: 350.6 kB / 0.599 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.2628, allocations: 67.33 kB / 0.599 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.2628, allocations: 0 / 0.599 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/0.2628, allocations: 0 / 0.599 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.263, allocations: 39.95 kB / 0.5991 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.263, allocations: 0 / 0.5991 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.2633, allocations: 39.89 kB / 0.5991 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2633, allocations: 8 kB / 0.5991 GB, free: 13.06 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.0001443/0.2634, allocations: 200.2 kB / 0.5993 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2635, allocations: 23.66 kB / 0.5993 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.2635, allocations: 17.53 kB / 0.5994 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2636, allocations: 4 kB / 0.5994 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2636, allocations: 0 / 0.5994 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2636, allocations: 3.984 kB / 0.5994 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.2638, allocations: 273.5 kB / 0.5996 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2639, allocations: 3.938 kB / 0.5996 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2641, allocations: 43.94 kB / 0.5997 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2641, allocations: 0 / 0.5997 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2642, allocations: 4 kB / 0.5997 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2642, allocations: 0 / 0.5997 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2642, allocations: 3.938 kB / 0.5997 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.2651, allocations: 316.5 kB / 0.6 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.2651, allocations: 100.8 kB / 0.6001 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2652, allocations: 4 kB / 0.6001 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2655, allocations: 35.94 kB / 0.6001 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.2656, allocations: 31.95 kB / 0.6001 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2656, allocations: 4 kB / 0.6002 GB, free: 11.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.2657, allocations: 159.5 kB / 0.6003 GB, free: 11.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2657, allocations: 0 / 0.6003 GB, free: 11.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.2661, allocations: 71.91 kB / 0.6004 GB, free: 11.7 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.0001528/0.2662, allocations: 114 kB / 0.6005 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.2676, allocations: 0.5928 MB / 0.6011 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2676, allocations: 0 / 0.6011 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.2681, allocations: 127.9 kB / 0.6012 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2684, allocations: 40.58 kB / 0.6012 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.2693, allocations: 422.3 kB / 0.6016 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2695, allocations: 0.7248 MB / 0.6023 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.2697, allocations: 33.52 kB / 0.6024 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.2698, allocations: 15.44 kB / 0.6024 GB, free: 9.535 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2698, allocations: 4 kB / 0.6024 GB, free: 9.531 MB / 462.1 MB Notification: Performance of Templates: time 0.005973/0.2758, allocations: 2.896 MB / 0.6052 GB, free: 6.691 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)