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.8152/0.8152, allocations: 132.4 MB / 139.9 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001003/0.001003, allocations: 179.3 kB / 171.8 MB, free: 4.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.37/1.37, allocations: 170.6 MB / 374.2 MB, free: 168 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001644/0.001644, allocations: 110.4 kB / 444.8 MB, free: 14.17 MB / 314.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.1723/0.1724, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5575/0.73, allocations: 103.7 MB / 0.7679 GB, free: 11.95 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.7304, allocations: 83.94 kB / 0.7679 GB, free: 11.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.7468, allocations: 5.815 MB / 0.7736 GB, free: 6.059 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7468, allocations: 0 / 0.7736 GB, free: 6.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.7469, allocations: 4 kB / 0.7736 GB, free: 6.055 MB / 474.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.0008503/0.7477, allocations: 0.5052 MB / 0.7741 GB, free: 5.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.7478, allocations: 12.03 kB / 0.7741 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.7479, allocations: 27.7 kB / 0.7742 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.7483, allocations: 259.5 kB / 0.7744 GB, free: 5.164 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.7484, allocations: 8 kB / 0.7744 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.7484, allocations: 11.95 kB / 0.7744 GB, free: 5.145 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009959/0.7494, allocations: 0.7608 MB / 0.7752 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.7497, allocations: 183.1 kB / 0.7753 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.7498, allocations: 4 kB / 0.7753 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.7498, allocations: 5.016 kB / 0.7754 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7498, allocations: 4 kB / 0.7754 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.7508, allocations: 0.5284 MB / 0.7759 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.7513, allocations: 304.2 kB / 0.7762 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.7514, allocations: 101.4 kB / 0.7763 GB, free: 3.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006727/0.7521, allocations: 465.7 kB / 0.7767 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.7524, allocations: 175.4 kB / 0.7769 GB, free: 2.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/0.7525, allocations: 4 kB / 0.7769 GB, free: 2.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.00143/0.7539, allocations: 380.9 kB / 0.7772 GB, free: 2.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.754, allocations: 81.11 kB / 0.7773 GB, free: 1.992 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.7543, allocations: 239.1 kB / 0.7775 GB, free: 1.754 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.7543, allocations: 29.64 kB / 0.7776 GB, free: 1.719 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.7544, allocations: 112.9 kB / 0.7777 GB, free: 1.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-05/0.7545, allocations: 106.4 kB / 0.7778 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.7545, allocations: 4 kB / 0.7778 GB, free: 1.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7547, allocations: 338.8 kB / 0.7781 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.7548, allocations: 83.98 kB / 0.7782 GB, free: 1.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.755, allocations: 125.7 kB / 0.7783 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.7561, allocations: 211.6 kB / 0.7785 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.7561, allocations: 3.953 kB / 0.7785 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001374/0.7575, allocations: 473.2 kB / 0.779 GB, free: 268 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.7576, allocations: 33.7 kB / 0.779 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7576, allocations: 0 / 0.779 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.7576, allocations: 0 / 0.779 GB, free: 228 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.7579, allocations: 67.91 kB / 0.7791 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7579, allocations: 3.984 kB / 0.7791 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.758, allocations: 19.69 kB / 0.7791 GB, free: 136 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.758, allocations: 16 kB / 0.7791 GB, free: 120 kB / 474.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 () * 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.0001382/0.7582, allocations: 112.9 kB / 0.7792 GB, free: 0 / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.7583, allocations: 31.66 kB / 0.7792 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.7599, allocations: 489.1 kB / 0.7797 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7599, allocations: 8 kB / 0.7797 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7599, allocations: 0 / 0.7797 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7599, allocations: 3.984 kB / 0.7797 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.7603, allocations: 297.8 kB / 0.78 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7603, allocations: 0 / 0.78 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.7605, allocations: 59.91 kB / 0.7801 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7605, allocations: 3.953 kB / 0.7801 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.7605, allocations: 15.98 kB / 0.7801 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7605, allocations: 0 / 0.7801 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7605, allocations: 0 / 0.7801 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7619, allocations: 425.4 kB / 0.7805 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.762, allocations: 148.7 kB / 0.7806 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.7621, allocations: 7.938 kB / 0.7806 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.7622, allocations: 4 kB / 0.7806 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.7623, allocations: 27.97 kB / 0.7807 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.7623, allocations: 11.98 kB / 0.7807 GB, free: 14.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.7625, allocations: 199.4 kB / 0.7809 GB, free: 14.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7625, allocations: 0 / 0.7809 GB, free: 14.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.7629, allocations: 79.86 kB / 0.7809 GB, free: 14.14 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) * 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.000758/0.7637, allocations: 280 kB / 0.7812 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.7642, allocations: 298.9 kB / 0.7815 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7642, allocations: 0 / 0.7815 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.7644, allocations: 128.4 kB / 0.7816 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.7646, allocations: 21.39 kB / 0.7816 GB, free: 13.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.7655, allocations: 390.9 kB / 0.782 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.7659, allocations: 0.7539 MB / 0.7827 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003694/0.7663, allocations: 153.9 kB / 0.7829 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.7664, allocations: 43.41 kB / 0.7829 GB, free: 12.08 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7665, allocations: 0 / 0.7829 GB, free: 12.08 MB / 490.7 MB Notification: Performance of Templates: time 0.007049/0.7735, allocations: 2.661 MB / 0.7855 GB, free: 9.48 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)