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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8746/0.8746, allocations: 133.7 MB / 148.6 MB, free: 13.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001298/0.001298, allocations: 176.1 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.845/1.845, allocations: 170.7 MB / 383.7 MB, free: 16.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 111.2 kB / 454.6 MB, free: 9.742 MB / 346.7 MB [/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.1855/0.186, allocations: 73.41 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5802/0.7663, allocations: 103.6 MB / 0.7824 GB, free: 23.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.7666, allocations: 77.5 kB / 0.7824 GB, free: 23.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01548/0.7821, allocations: 4.868 MB / 0.7872 GB, free: 20.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7822, allocations: 0 / 0.7872 GB, free: 20.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.7822, allocations: 4 kB / 0.7872 GB, free: 20.15 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001347/0.7836, allocations: 0.6475 MB / 0.7878 GB, free: 19.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.7837, allocations: 12.03 kB / 0.7878 GB, free: 19.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.7838, allocations: 25.27 kB / 0.7879 GB, free: 19.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.7842, allocations: 284.4 kB / 0.7881 GB, free: 19.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.7843, allocations: 11.67 kB / 0.7881 GB, free: 19.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.7843, allocations: 12.56 kB / 0.7882 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.7851, allocations: 290.7 kB / 0.7884 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.7851, allocations: 0 / 0.7884 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.7852, allocations: 5.484 kB / 0.7884 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.7852, allocations: 4 kB / 0.7884 GB, free: 19.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.7861, allocations: 318 kB / 0.7887 GB, free: 18.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.787, allocations: 0.5484 MB / 0.7893 GB, free: 18.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7881, allocations: 384 kB / 0.7897 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.7882, allocations: 5.109 kB / 0.7897 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/0.7889, allocations: 242 kB / 0.7899 GB, free: 17.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.7889, allocations: 0 / 0.7899 GB, free: 17.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001516/0.7904, allocations: 0.5148 MB / 0.7904 GB, free: 17.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7905, allocations: 112.2 kB / 0.7905 GB, free: 17.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.7907, allocations: 189 kB / 0.7907 GB, free: 17.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.7907, allocations: 33.14 kB / 0.7907 GB, free: 17.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.7908, allocations: 132.9 kB / 0.7908 GB, free: 17.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.7908, allocations: 47.09 kB / 0.7909 GB, free: 17.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.7908, allocations: 0.5625 kB / 0.7909 GB, free: 17.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.7909, allocations: 333.1 kB / 0.7912 GB, free: 16.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.7914, allocations: 161 kB / 0.7914 GB, free: 16.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.792, allocations: 191.4 kB / 0.7915 GB, free: 16.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.7925, allocations: 202.1 kB / 0.7917 GB, free: 16.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7925, allocations: 4 kB / 0.7917 GB, free: 16.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001153/0.7936, allocations: 451.3 kB / 0.7922 GB, free: 16.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.7937, allocations: 64.97 kB / 0.7922 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7937, allocations: 1.312 kB / 0.7922 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7938, allocations: 0 / 0.7922 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.7941, allocations: 73.23 kB / 0.7923 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7941, allocations: 4 kB / 0.7923 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.7945, allocations: 68.31 kB / 0.7924 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.7945, allocations: 5.547 kB / 0.7924 GB, free: 15.91 MB / 490.7 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.0001438/0.7946, allocations: 133.4 kB / 0.7925 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.7947, allocations: 25.17 kB / 0.7925 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.7947, allocations: 23.05 kB / 0.7925 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7948, allocations: 0 / 0.7925 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.7948, allocations: 0 / 0.7925 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7948, allocations: 0 / 0.7925 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.7951, allocations: 290.7 kB / 0.7928 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7951, allocations: 1.812 kB / 0.7928 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.7954, allocations: 68.62 kB / 0.7929 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7954, allocations: 7.938 kB / 0.7929 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.7954, allocations: 5.422 kB / 0.7929 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7954, allocations: 0 / 0.7929 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7954, allocations: 4 kB / 0.7929 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.7964, allocations: 396.6 kB / 0.7933 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.7964, allocations: 101.8 kB / 0.7934 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.7965, allocations: 6.531 kB / 0.7934 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.7968, allocations: 64.92 kB / 0.7934 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.7969, allocations: 27.45 kB / 0.7935 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.7969, allocations: 9.719 kB / 0.7935 GB, free: 14.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.7971, allocations: 155 kB / 0.7936 GB, free: 14.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7971, allocations: 0 / 0.7936 GB, free: 14.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.7973, allocations: 43.44 kB / 0.7937 GB, free: 14.83 MB / 490.7 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.0001382/0.7975, allocations: 105.2 kB / 0.7938 GB, free: 14.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.7986, allocations: 465.8 kB / 0.7942 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7986, allocations: 0 / 0.7942 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.7991, allocations: 171.1 kB / 0.7944 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.7994, allocations: 45.38 kB / 0.7944 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/0.8003, allocations: 429 kB / 0.7948 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.8005, allocations: 0.7364 MB / 0.7955 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.8006, allocations: 17.55 kB / 0.7956 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.8007, allocations: 23.38 kB / 0.7956 GB, free: 13 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.8007, allocations: 0 / 0.7956 GB, free: 13 MB / 490.7 MB Notification: Performance of Templates: time 0.005179/0.8059, allocations: 2.666 MB / 0.7982 GB, free: 10.38 MB / 490.7 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)