Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9141/0.9141, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.00144/0.00144, allocations: 176 kB / 180.8 MB, free: 15.06 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.551/1.551, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001652/0.001652, allocations: 115.9 kB / 454.6 MB, free: 9.719 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.1975/0.198, allocations: 73.41 MB / 0.6812 GB, free: 5.547 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/0.7607, allocations: 104.4 MB / 0.7832 GB, free: 22.69 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.7611, allocations: 90.59 kB / 0.7833 GB, free: 22.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.7772, allocations: 6.153 MB / 0.7893 GB, free: 19.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7772, allocations: 4 kB / 0.7893 GB, free: 19.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.7773, allocations: 4 kB / 0.7893 GB, free: 19.21 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007815/0.778, allocations: 0.5325 MB / 0.7898 GB, free: 18.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7781, allocations: 8.562 kB / 0.7898 GB, free: 18.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.7782, allocations: 27.16 kB / 0.7898 GB, free: 18.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.7786, allocations: 261.6 kB / 0.7901 GB, free: 18.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.7786, allocations: 14.44 kB / 0.7901 GB, free: 18.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.7786, allocations: 15.44 kB / 0.7901 GB, free: 18.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.779, allocations: 211.8 kB / 0.7903 GB, free: 18.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.779, allocations: 0 / 0.7903 GB, free: 18.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.7791, allocations: 8 kB / 0.7903 GB, free: 18.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.7791, allocations: 6.922 kB / 0.7903 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.78, allocations: 0.7754 MB / 0.7911 GB, free: 17.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.7809, allocations: 0.5777 MB / 0.7916 GB, free: 17.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.7813, allocations: 328.4 kB / 0.7919 GB, free: 16.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.7819, allocations: 460.6 kB / 0.7924 GB, free: 16.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.7822, allocations: 176.8 kB / 0.7926 GB, free: 16.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.7822, allocations: 0 / 0.7926 GB, free: 16.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006537/0.7829, allocations: 404 kB / 0.7929 GB, free: 15.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.7829, allocations: 81.11 kB / 0.793 GB, free: 15.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.7832, allocations: 248.2 kB / 0.7933 GB, free: 15.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.7833, allocations: 31.45 kB / 0.7933 GB, free: 15.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.7833, allocations: 126 kB / 0.7934 GB, free: 15.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.7834, allocations: 112.5 kB / 0.7935 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.7835, allocations: 5.562 kB / 0.7935 GB, free: 15.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.7836, allocations: 339.9 kB / 0.7938 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.7837, allocations: 99.95 kB / 0.7939 GB, free: 15.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.7839, allocations: 134 kB / 0.7941 GB, free: 14.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.7841, allocations: 143 kB / 0.7942 GB, free: 14.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7841, allocations: 3.953 kB / 0.7942 GB, free: 14.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005081/0.7846, allocations: 424.8 kB / 0.7946 GB, free: 14.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.7847, allocations: 33.7 kB / 0.7946 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7847, allocations: 0 / 0.7946 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.7847, allocations: 10.39 kB / 0.7947 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.7849, allocations: 59.91 kB / 0.7947 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.785, allocations: 4 kB / 0.7947 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.7851, allocations: 19.28 kB / 0.7947 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.7851, allocations: 11.81 kB / 0.7947 GB, free: 14.37 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: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0001817/0.7853, allocations: 165.3 kB / 0.7949 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.7854, allocations: 27.67 kB / 0.7949 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.7861, allocations: 428.2 kB / 0.7953 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.7862, allocations: 4 kB / 0.7953 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7862, allocations: 0 / 0.7953 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.7862, allocations: 3.984 kB / 0.7953 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.7865, allocations: 329.2 kB / 0.7957 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7866, allocations: 0 / 0.7957 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.7867, allocations: 67.61 kB / 0.7957 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7867, allocations: 4 kB / 0.7957 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.7868, allocations: 15.23 kB / 0.7957 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7868, allocations: 0 / 0.7957 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7868, allocations: 0.875 kB / 0.7957 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.7873, allocations: 340.3 kB / 0.7961 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.7875, allocations: 163.5 kB / 0.7962 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.7875, allocations: 11.89 kB / 0.7962 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.7876, allocations: 7.938 kB / 0.7962 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.7877, allocations: 27.84 kB / 0.7963 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.7877, allocations: 15.98 kB / 0.7963 GB, free: 12.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.7879, allocations: 200.8 kB / 0.7965 GB, free: 12.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7879, allocations: 3.938 kB / 0.7965 GB, free: 12.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.7883, allocations: 92.17 kB / 0.7966 GB, free: 12.74 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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008389/0.7892, allocations: 319.6 kB / 0.7969 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.7897, allocations: 321.4 kB / 0.7972 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7897, allocations: 0 / 0.7972 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.7898, allocations: 143.2 kB / 0.7973 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.7901, allocations: 17.56 kB / 0.7973 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.791, allocations: 0.5742 MB / 0.7979 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.7913, allocations: 0.7721 MB / 0.7986 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.7916, allocations: 150.1 kB / 0.7988 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.7917, allocations: 43.17 kB / 0.7988 GB, free: 10.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7917, allocations: 0 / 0.7988 GB, free: 10.64 MB / 490.7 MB Notification: Performance of Templates: time 0.006042/0.7977, allocations: 2.822 MB / 0.8016 GB, free: 7.891 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)