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.1987/0.2007, allocations: 80.83 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.003719/0.2045, allocations: 2.009 MB / 0.6726 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2058, allocations: 0.6867 MB / 0.6732 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2059, allocations: 3.938 kB / 0.6732 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.206, allocations: 19.73 kB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2062, allocations: 55.56 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.2066, allocations: 151.7 kB / 0.6735 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.207, allocations: 291.2 kB / 0.6737 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.2072, allocations: 72.2 kB / 0.6738 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2073, allocations: 107.6 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2075, allocations: 131.5 kB / 0.674 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.2076, allocations: 24 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.2076, allocations: 24 kB / 0.6741 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.2077, allocations: 51.83 kB / 0.6741 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2078, allocations: 107.5 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2081, allocations: 267 kB / 0.6745 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2081, allocations: 0 / 0.6745 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2081, allocations: 0 / 0.6745 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.2081, allocations: 4 kB / 0.6745 GB, free: 14.05 MB / 0.5137 GB 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.001357/0.2095, allocations: 0.6267 MB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2095, allocations: 12.03 kB / 0.6751 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.2096, allocations: 20.75 kB / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.2101, allocations: 280.6 kB / 0.6754 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2102, allocations: 12.38 kB / 0.6754 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2102, allocations: 12.38 kB / 0.6754 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.2109, allocations: 256.8 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2109, allocations: 0 / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2109, allocations: 4 kB / 0.6757 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.211, allocations: 4 kB / 0.6757 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008854/0.2119, allocations: 219.8 kB / 0.6759 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.2127, allocations: 0.5196 MB / 0.6764 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2137, allocations: 266.5 kB / 0.6766 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.2142, allocations: 120.7 kB / 0.6768 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2142, allocations: 0 / 0.6768 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.2148, allocations: 199 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2148, allocations: 0 / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.001457/0.2163, allocations: 380.1 kB / 0.6773 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2163, allocations: 63.33 kB / 0.6774 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.2166, allocations: 216.3 kB / 0.6776 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2166, allocations: 29.7 kB / 0.6776 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2167, allocations: 136.2 kB / 0.6777 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.2168, allocations: 39.45 kB / 0.6778 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.2169, allocations: 41.69 kB / 0.6778 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.217, allocations: 326.8 kB / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.2175, allocations: 128.6 kB / 0.6782 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.2179, allocations: 115.8 kB / 0.6784 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.2188, allocations: 275.4 kB / 0.6786 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2188, allocations: 0 / 0.6786 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001047/0.2199, allocations: 360.6 kB / 0.679 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.2199, allocations: 59.41 kB / 0.679 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2199, allocations: 4 kB / 0.679 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.22, allocations: 4 kB / 0.679 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.2202, allocations: 47.88 kB / 0.6791 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2203, allocations: 0 / 0.6791 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2206, allocations: 51.78 kB / 0.6791 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2206, allocations: 8 kB / 0.6791 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004596/0.2211, allocations: 204 kB / 0.6793 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003736/0.2214, allocations: 99.89 kB / 0.6794 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007287/0.2222, allocations: 258.6 kB / 0.6797 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.2222, allocations: 3.984 kB / 0.6797 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008848/0.2231, allocations: 340.6 kB / 0.68 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2231, allocations: 67.95 kB / 0.6801 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2232, allocations: 0 / 0.6801 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.2232, allocations: 7.938 kB / 0.6801 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.2234, allocations: 43.95 kB / 0.6801 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2234, allocations: 4 kB / 0.6801 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.2237, allocations: 43.8 kB / 0.6802 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.2237, allocations: 7.984 kB / 0.6802 GB, free: 7.887 MB / 0.5137 GB 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.0001361/0.2239, allocations: 188.2 kB / 0.6803 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2239, allocations: 19.75 kB / 0.6804 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.224, allocations: 33.45 kB / 0.6804 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.224, allocations: 7.938 kB / 0.6804 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.224, allocations: 0 / 0.6804 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.224, allocations: 0 / 0.6804 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2243, allocations: 265.4 kB / 0.6807 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2243, allocations: 3.938 kB / 0.6807 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.2246, allocations: 51.88 kB / 0.6807 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2246, allocations: 0 / 0.6807 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2246, allocations: 8 kB / 0.6807 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2246, allocations: 0 / 0.6807 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2246, allocations: 0 / 0.6807 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.2255, allocations: 308.6 kB / 0.681 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.2256, allocations: 100.8 kB / 0.6811 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2257, allocations: 3.984 kB / 0.6811 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.2259, allocations: 35.95 kB / 0.6811 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.226, allocations: 31.95 kB / 0.6812 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.2261, allocations: 8 kB / 0.6812 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001399/0.2262, allocations: 155.5 kB / 0.6813 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2262, allocations: 0 / 0.6813 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003363/0.2266, allocations: 75.84 kB / 0.6814 GB, free: 6.52 MB / 0.5137 GB 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.0001292/0.2267, allocations: 99.23 kB / 0.6815 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.2282, allocations: 0.5921 MB / 0.6821 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2282, allocations: 4 kB / 0.6821 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2287, allocations: 135.3 kB / 0.6822 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2291, allocations: 55.31 kB / 0.6823 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/0.2299, allocations: 352.6 kB / 0.6826 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2303, allocations: 0.7285 MB / 0.6833 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.2304, allocations: 21.55 kB / 0.6833 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.2305, allocations: 27.42 kB / 0.6834 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.2305, allocations: 0 / 0.6834 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.006686/0.2372, allocations: 3.24 MB / 0.6865 GB, free: 1.199 MB / 0.5137 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)