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/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.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") [/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.131/0.1329, allocations: 80.83 MB / 0.6706 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.00286/0.1358, allocations: 1.71 MB / 0.6723 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1376, allocations: 1.513 MB / 0.6738 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.1377, allocations: 4 kB / 0.6738 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.1379, allocations: 23.86 kB / 0.6738 GB, free: 1.348 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1381, allocations: 47.7 kB / 0.6738 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1384, allocations: 122.8 kB / 0.674 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1386, allocations: 221.6 kB / 0.6742 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.1387, allocations: 20.17 kB / 0.6742 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1389, allocations: 75.81 kB / 0.6743 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.139, allocations: 79.78 kB / 0.6743 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.139, allocations: 19.94 kB / 0.6744 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1392, allocations: 119.9 kB / 0.6745 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.1393, allocations: 75.75 kB / 0.6745 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.1394, allocations: 95.41 kB / 0.6746 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.1397, allocations: 299.1 kB / 0.6749 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1398, allocations: 0 / 0.6749 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1398, allocations: 4 kB / 0.6749 GB, free: 196 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1398, allocations: 4 kB / 0.6749 GB, free: 192 kB / 0.5137 GB 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.0006923/0.1405, allocations: 0.5305 MB / 0.6754 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1405, allocations: 8.031 kB / 0.6755 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1406, allocations: 24.66 kB / 0.6755 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1409, allocations: 255 kB / 0.6757 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1409, allocations: 16 kB / 0.6757 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.141, allocations: 15.98 kB / 0.6758 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.1412, allocations: 199 kB / 0.6759 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1413, allocations: 0 / 0.6759 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1413, allocations: 8 kB / 0.6759 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1413, allocations: 4 kB / 0.676 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.1421, allocations: 0.7334 MB / 0.6767 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.1429, allocations: 0.5627 MB / 0.6772 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.1434, allocations: 312.6 kB / 0.6775 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1435, allocations: 105.4 kB / 0.6776 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.1441, allocations: 457.7 kB / 0.6781 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.1445, allocations: 175.4 kB / 0.6782 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.1445, allocations: 0 / 0.6782 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0006173/0.1451, allocations: 374.9 kB / 0.6786 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1452, allocations: 85.09 kB / 0.6787 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1454, allocations: 299 kB / 0.6789 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1455, allocations: 29.7 kB / 0.679 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1455, allocations: 116.8 kB / 0.6791 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.1456, allocations: 122.3 kB / 0.6792 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.1457, allocations: 65.56 kB / 0.6793 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1458, allocations: 334.8 kB / 0.6796 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1459, allocations: 79.95 kB / 0.6797 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1461, allocations: 109.7 kB / 0.6798 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1464, allocations: 221.3 kB / 0.68 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1464, allocations: 3.938 kB / 0.68 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004037/0.1468, allocations: 273.2 kB / 0.6802 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1468, allocations: 11.97 kB / 0.6802 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1469, allocations: 0 / 0.6802 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1469, allocations: 0 / 0.6802 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.1471, allocations: 63.89 kB / 0.6803 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1471, allocations: 4 kB / 0.6803 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.1472, allocations: 23.75 kB / 0.6803 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1472, allocations: 12 kB / 0.6803 GB, free: 10.29 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: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0001337/0.1474, allocations: 166.4 kB / 0.6805 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1474, allocations: 27.66 kB / 0.6805 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.1479, allocations: 315.9 kB / 0.6808 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1479, allocations: 4 kB / 0.6808 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1479, allocations: 0 / 0.6808 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1479, allocations: 3.984 kB / 0.6808 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1482, allocations: 325.3 kB / 0.6812 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1482, allocations: 0 / 0.6812 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1484, allocations: 59.97 kB / 0.6812 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1484, allocations: 7.938 kB / 0.6812 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1484, allocations: 8 kB / 0.6812 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1484, allocations: 0 / 0.6812 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1484, allocations: 7.922 kB / 0.6812 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1488, allocations: 317.1 kB / 0.6815 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.149, allocations: 144.6 kB / 0.6817 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.149, allocations: 11.94 kB / 0.6817 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1491, allocations: 12 kB / 0.6817 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.1491, allocations: 23.97 kB / 0.6817 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.1492, allocations: 11.98 kB / 0.6817 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000165/0.1493, allocations: 224.6 kB / 0.6819 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1493, allocations: 0 / 0.6819 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002786/0.1496, allocations: 75.92 kB / 0.682 GB, free: 8.477 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: 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 (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.0008437/0.1505, allocations: 416.5 kB / 0.6824 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.1508, allocations: 231.5 kB / 0.6826 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1508, allocations: 4 kB / 0.6826 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.151, allocations: 132.7 kB / 0.6828 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1513, allocations: 35.09 kB / 0.6828 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.152, allocations: 0.4983 MB / 0.6833 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1523, allocations: 0.7572 MB / 0.684 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000275/0.1525, allocations: 142.9 kB / 0.6842 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.1526, allocations: 47.34 kB / 0.6842 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1526, allocations: 0 / 0.6842 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of Templates: time 0.005631/0.1583, allocations: 2.917 MB / 0.6871 GB, free: 3.438 MB / 0.5294 GB 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)