Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") [/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.1275/0.1293, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002618/0.132, allocations: 1.579 MB / 0.6722 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1332, allocations: 1.044 MB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.1333, allocations: 0 / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1335, allocations: 27.8 kB / 0.6732 GB, free: 15.36 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.0002012/0.1337, allocations: 47.77 kB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1339, allocations: 93.88 kB / 0.6734 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1342, allocations: 205.7 kB / 0.6736 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.1343, allocations: 27.91 kB / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.1344, allocations: 67.77 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1345, allocations: 71.86 kB / 0.6737 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.1345, allocations: 19.94 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1347, allocations: 91.94 kB / 0.6738 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.1348, allocations: 75.81 kB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.1349, allocations: 87.45 kB / 0.674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.1352, allocations: 271.1 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1352, allocations: 0 / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1352, allocations: 0 / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1352, allocations: 0 / 0.6742 GB, free: 14.32 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006649/0.1359, allocations: 0.5189 MB / 0.6747 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1359, allocations: 12.03 kB / 0.6748 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.1362, allocations: 44.62 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1364, allocations: 270.9 kB / 0.6751 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1365, allocations: 8 kB / 0.6751 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1365, allocations: 16 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1368, allocations: 199.1 kB / 0.6753 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1368, allocations: 0 / 0.6753 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1369, allocations: 8 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1369, allocations: 4 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.1377, allocations: 0.7502 MB / 0.676 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00073/0.1384, allocations: 0.5589 MB / 0.6766 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.139, allocations: 320.6 kB / 0.6769 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1392, allocations: 109.4 kB / 0.677 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.1393, allocations: 24.25 kB / 0.677 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.1396, allocations: 180.8 kB / 0.6772 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1396, allocations: 4 kB / 0.6772 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0007145/0.1404, allocations: 385 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1404, allocations: 81.11 kB / 0.6776 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1406, allocations: 287.2 kB / 0.6779 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1407, allocations: 29.7 kB / 0.6779 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1407, allocations: 120.7 kB / 0.678 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.1408, allocations: 126.3 kB / 0.6781 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.1409, allocations: 53.7 kB / 0.6782 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.141, allocations: 338.8 kB / 0.6785 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1412, allocations: 87.94 kB / 0.6786 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.1414, allocations: 117.5 kB / 0.6787 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.1418, allocations: 228.9 kB / 0.6789 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1418, allocations: 0 / 0.6789 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004623/0.1422, allocations: 289.6 kB / 0.6792 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1423, allocations: 4 kB / 0.6792 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1423, allocations: 0 / 0.6792 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1423, allocations: 11.92 kB / 0.6792 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1425, allocations: 63.91 kB / 0.6793 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1425, allocations: 3.984 kB / 0.6793 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1426, allocations: 23.75 kB / 0.6793 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1427, allocations: 15.98 kB / 0.6793 GB, free: 8.844 MB / 0.5137 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 (35): * Single equations (assignments): 35 * 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.0001224/0.1428, allocations: 153.8 kB / 0.6795 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.1429, allocations: 23.72 kB / 0.6795 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.729e-05/0.1429, allocations: 46.64 kB / 0.6795 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.143, allocations: 7.938 kB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.143, allocations: 0 / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.143, allocations: 4 kB / 0.6796 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1432, allocations: 317.3 kB / 0.6799 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1432, allocations: 0 / 0.6799 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1434, allocations: 59.91 kB / 0.6799 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1435, allocations: 4 kB / 0.6799 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.1435, allocations: 8 kB / 0.6799 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1435, allocations: 7.938 kB / 0.6799 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1435, allocations: 0 / 0.6799 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.144, allocations: 329.7 kB / 0.6802 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1441, allocations: 136.7 kB / 0.6804 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1441, allocations: 8 kB / 0.6804 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1442, allocations: 15.94 kB / 0.6804 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.1443, allocations: 23.97 kB / 0.6804 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1443, allocations: 15.98 kB / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001693/0.1445, allocations: 224.4 kB / 0.6807 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1445, allocations: 3.938 kB / 0.6807 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002581/0.1448, allocations: 55.92 kB / 0.6807 GB, free: 7.336 MB / 0.5137 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 (34): * Single equations (assignments): 33 * 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.0007946/0.1456, allocations: 409.7 kB / 0.6811 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.146, allocations: 236 kB / 0.6813 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.146, allocations: 4 kB / 0.6813 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.1463, allocations: 139.8 kB / 0.6815 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1465, allocations: 27.98 kB / 0.6815 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.1472, allocations: 0.4924 MB / 0.682 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1475, allocations: 0.7496 MB / 0.6827 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.1478, allocations: 142.9 kB / 0.6828 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.1479, allocations: 43.42 kB / 0.6829 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1479, allocations: 0 / 0.6829 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of Templates: time 0.005163/0.1531, allocations: 2.625 MB / 0.6854 GB, free: 2.586 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)