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.2503/0.2516, allocations: 82.21 MB / 0.5935 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.003558/0.2552, allocations: 1.663 MB / 0.5951 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2566, allocations: 0.6519 MB / 0.5957 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2568, allocations: 4 kB / 0.5957 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.2569, allocations: 11.86 kB / 0.5957 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2571, allocations: 43.64 kB / 0.5958 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.2576, allocations: 107.8 kB / 0.5959 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.2579, allocations: 251.2 kB / 0.5961 GB, free: 3.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2581, allocations: 48.75 kB / 0.5962 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2583, allocations: 87.62 kB / 0.5963 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2585, allocations: 103.6 kB / 0.5964 GB, free: 2.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.2585, allocations: 8 kB / 0.5964 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.2586, allocations: 12 kB / 0.5964 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.2586, allocations: 31.83 kB / 0.5964 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.2587, allocations: 61.58 kB / 0.5965 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2589, allocations: 191.5 kB / 0.5966 GB, free: 2.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.259, allocations: 4 kB / 0.5966 GB, free: 2.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.259, allocations: 0 / 0.5966 GB, free: 2.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.259, allocations: 0 / 0.5966 GB, free: 2.648 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.001342/0.2603, allocations: 0.619 MB / 0.5973 GB, free: 1.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2604, allocations: 8.031 kB / 0.5973 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.2605, allocations: 23.72 kB / 0.5973 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.2609, allocations: 280.5 kB / 0.5975 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.261, allocations: 8 kB / 0.5976 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.261, allocations: 19.95 kB / 0.5976 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.2617, allocations: 264 kB / 0.5978 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2617, allocations: 4 kB / 0.5978 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.2618, allocations: 4 kB / 0.5978 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2618, allocations: 4 kB / 0.5978 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.2626, allocations: 271.8 kB / 0.5981 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.2635, allocations: 0.5118 MB / 0.5986 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.2645, allocations: 314.4 kB / 0.5989 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.2649, allocations: 144.7 kB / 0.599 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.265, allocations: 4 kB / 0.599 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006383/0.2656, allocations: 217.6 kB / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.2656, allocations: 0 / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.001363/0.267, allocations: 457 kB / 0.5997 GB, free: 15.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2671, allocations: 59.39 kB / 0.5997 GB, free: 15.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.2673, allocations: 216.2 kB / 0.5999 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.2673, allocations: 33.7 kB / 0.6 GB, free: 15.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2675, allocations: 132.3 kB / 0.6001 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.2675, allocations: 43.36 kB / 0.6001 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.2675, allocations: 0 / 0.6001 GB, free: 14.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2677, allocations: 334.8 kB / 0.6005 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2681, allocations: 135.9 kB / 0.6006 GB, free: 14.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.2685, allocations: 135.9 kB / 0.6007 GB, free: 14.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.269, allocations: 195.2 kB / 0.6009 GB, free: 14.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.269, allocations: 0 / 0.6009 GB, free: 14.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009412/0.2699, allocations: 406.7 kB / 0.6013 GB, free: 13.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2701, allocations: 155.1 kB / 0.6014 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2701, allocations: 0 / 0.6014 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2701, allocations: 4 kB / 0.6014 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.2704, allocations: 59.94 kB / 0.6015 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2704, allocations: 0 / 0.6015 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.2707, allocations: 59.8 kB / 0.6016 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.2707, allocations: 7.984 kB / 0.6016 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/0.2707, allocations: 4 kB / 0.6016 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008278/0.2716, allocations: 371 kB / 0.6019 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.2716, allocations: 0 / 0.6019 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-06/0.2716, allocations: 4 kB / 0.6019 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.2718, allocations: 51.95 kB / 0.602 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.2718, allocations: 0 / 0.602 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.272, allocations: 55.89 kB / 0.602 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2721, allocations: 7.984 kB / 0.602 GB, free: 12.82 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.2723, allocations: 216.8 kB / 0.6022 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.2723, allocations: 23.67 kB / 0.6023 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.2724, allocations: 29.52 kB / 0.6023 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2724, allocations: 3.938 kB / 0.6023 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2724, allocations: 4 kB / 0.6023 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2724, allocations: 3.984 kB / 0.6023 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.2727, allocations: 265.5 kB / 0.6026 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2727, allocations: 4 kB / 0.6026 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.273, allocations: 63.89 kB / 0.6026 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.273, allocations: 8 kB / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.273, allocations: 0 / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.273, allocations: 0 / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.273, allocations: 0 / 0.6026 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.2739, allocations: 366 kB / 0.603 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.274, allocations: 92.91 kB / 0.6031 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.274, allocations: 11.95 kB / 0.6031 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.2743, allocations: 43.95 kB / 0.6031 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2744, allocations: 35.94 kB / 0.6032 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2744, allocations: 4 kB / 0.6032 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.2746, allocations: 163.5 kB / 0.6033 GB, free: 11.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.2746, allocations: 0 / 0.6033 GB, free: 11.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.2749, allocations: 71.84 kB / 0.6034 GB, free: 11.34 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 (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.0001332/0.275, allocations: 107.2 kB / 0.6035 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.2764, allocations: 0.6573 MB / 0.6041 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2765, allocations: 8 kB / 0.6041 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.2769, allocations: 155.8 kB / 0.6043 GB, free: 10.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2773, allocations: 33.25 kB / 0.6043 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.2781, allocations: 416.1 kB / 0.6047 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2785, allocations: 0.7289 MB / 0.6054 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.2786, allocations: 29.47 kB / 0.6055 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.2787, allocations: 23.42 kB / 0.6055 GB, free: 9.09 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2787, allocations: 4 kB / 0.6055 GB, free: 9.086 MB / 462.1 MB Notification: Performance of Templates: time 0.006911/0.2856, allocations: 2.77 MB / 0.6082 GB, free: 6.371 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: