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.2366/0.24, allocations: 80.84 MB / 0.6706 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Rooms.Examples.Controls.Validation.ElectrochromicWindow): time 0.003568/0.2436, allocations: 2.01 MB / 0.6726 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2448, allocations: 0.6906 MB / 0.6732 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.245, allocations: 0 / 0.6732 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.245, allocations: 23.73 kB / 0.6733 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.2453, allocations: 51.56 kB / 0.6733 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.2457, allocations: 155.7 kB / 0.6735 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.246, allocations: 291.2 kB / 0.6737 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2462, allocations: 68.22 kB / 0.6738 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2464, allocations: 107.7 kB / 0.6739 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2465, allocations: 123.4 kB / 0.674 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.2466, allocations: 28 kB / 0.674 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.2466, allocations: 24 kB / 0.6741 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.2467, allocations: 55.83 kB / 0.6741 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2468, allocations: 119.4 kB / 0.6742 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2471, allocations: 251.2 kB / 0.6745 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2472, allocations: 0 / 0.6745 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2472, allocations: 0 / 0.6745 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.2472, allocations: 4 kB / 0.6745 GB, free: 0.6172 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.001417/0.2486, allocations: 0.6268 MB / 0.6751 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2487, allocations: 12.03 kB / 0.6751 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.904e-05/0.2487, allocations: 24.66 kB / 0.6751 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.2493, allocations: 285.4 kB / 0.6754 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2493, allocations: 12.38 kB / 0.6754 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2493, allocations: 16.31 kB / 0.6754 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.25, allocations: 246.1 kB / 0.6757 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.25, allocations: 0 / 0.6757 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.2501, allocations: 4 kB / 0.6757 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2501, allocations: 4 kB / 0.6757 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008915/0.251, allocations: 223.8 kB / 0.6759 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.2518, allocations: 0.5157 MB / 0.6764 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.2528, allocations: 262.5 kB / 0.6766 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.2533, allocations: 120.7 kB / 0.6768 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2533, allocations: 3.938 kB / 0.6768 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/0.2539, allocations: 195.1 kB / 0.6769 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.254, allocations: 0 / 0.6769 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0015/0.2555, allocations: 381.1 kB / 0.6773 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.2555, allocations: 55.41 kB / 0.6774 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.2557, allocations: 220.2 kB / 0.6776 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.2558, allocations: 33.7 kB / 0.6776 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.2559, allocations: 128.3 kB / 0.6777 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.2559, allocations: 47.34 kB / 0.6778 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.256, allocations: 37.7 kB / 0.6778 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2561, allocations: 334.8 kB / 0.6781 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.2566, allocations: 120.7 kB / 0.6782 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.2571, allocations: 119.7 kB / 0.6784 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.2579, allocations: 264.1 kB / 0.6786 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2579, allocations: 0 / 0.6786 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001035/0.259, allocations: 367.6 kB / 0.679 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.2591, allocations: 63.39 kB / 0.679 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2591, allocations: 0 / 0.679 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2591, allocations: 0 / 0.679 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.2594, allocations: 59.88 kB / 0.6791 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2594, allocations: 0 / 0.6791 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.2597, allocations: 39.89 kB / 0.6791 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.2598, allocations: 11.92 kB / 0.6791 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004659/0.2602, allocations: 204.7 kB / 0.6793 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003759/0.2606, allocations: 107.8 kB / 0.6794 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007412/0.2614, allocations: 260 kB / 0.6797 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.2614, allocations: 0 / 0.6797 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009003/0.2623, allocations: 347.9 kB / 0.68 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.2623, allocations: 63.34 kB / 0.6801 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.2624, allocations: 0 / 0.6801 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.2624, allocations: 4 kB / 0.6801 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.2626, allocations: 43.94 kB / 0.6801 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.2626, allocations: 0 / 0.6801 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.2629, allocations: 51.8 kB / 0.6802 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2629, allocations: 4 kB / 0.6802 GB, free: 10.46 MB / 0.5294 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.0001437/0.2631, allocations: 193.2 kB / 0.6803 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2631, allocations: 19.75 kB / 0.6804 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.087e-05/0.2632, allocations: 21.52 kB / 0.6804 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2632, allocations: 8 kB / 0.6804 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2632, allocations: 0 / 0.6804 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.2632, allocations: 3.938 kB / 0.6804 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.2635, allocations: 273.4 kB / 0.6807 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2635, allocations: 3.938 kB / 0.6807 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.2638, allocations: 43.94 kB / 0.6807 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.2638, allocations: 0 / 0.6807 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2638, allocations: 7.984 kB / 0.6807 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2639, allocations: 0 / 0.6807 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2639, allocations: 4 kB / 0.6807 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009693/0.2648, allocations: 311.4 kB / 0.681 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.2649, allocations: 104.7 kB / 0.6811 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.265, allocations: 4 kB / 0.6811 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.2652, allocations: 35.94 kB / 0.6811 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2654, allocations: 27.97 kB / 0.6812 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2654, allocations: 8 kB / 0.6812 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000156/0.2655, allocations: 163.5 kB / 0.6813 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2655, allocations: 0 / 0.6813 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003457/0.2659, allocations: 71.84 kB / 0.6814 GB, free: 9.086 MB / 0.5294 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.0001343/0.266, allocations: 106.1 kB / 0.6815 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.2676, allocations: 0.5909 MB / 0.6821 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2676, allocations: 0 / 0.6821 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.2681, allocations: 127.9 kB / 0.6822 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2685, allocations: 43.83 kB / 0.6822 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.2694, allocations: 360.6 kB / 0.6826 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2697, allocations: 0.7323 MB / 0.6833 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.2699, allocations: 25.53 kB / 0.6833 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.2699, allocations: 19.44 kB / 0.6833 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.27, allocations: 0 / 0.6833 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of Templates: time 0.006667/0.2766, allocations: 3.24 MB / 0.6865 GB, free: 3.773 MB / 0.5294 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)