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.2255/0.2287, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.003386/0.2321, allocations: 1.575 MB / 0.6722 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2338, allocations: 1.04 MB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.2339, allocations: 0 / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.2342, allocations: 31.78 kB / 0.6732 GB, free: 15.35 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.000258/0.2345, allocations: 43.78 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.2348, allocations: 99.73 kB / 0.6734 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.2351, allocations: 205.7 kB / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2352, allocations: 23.91 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.2353, allocations: 63.78 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2355, allocations: 75.84 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.2355, allocations: 19.94 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2357, allocations: 87.94 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.2358, allocations: 75.81 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.2359, allocations: 91.47 kB / 0.674 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.2362, allocations: 271.1 kB / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2362, allocations: 0 / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2362, allocations: 0 / 0.6742 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.2363, allocations: 0 / 0.6742 GB, free: 14.31 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.0008177/0.2371, allocations: 0.515 MB / 0.6747 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2371, allocations: 12.03 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.2375, allocations: 52.62 kB / 0.6748 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2378, allocations: 270.9 kB / 0.6751 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2378, allocations: 8 kB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.2378, allocations: 19.98 kB / 0.6751 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2382, allocations: 195.1 kB / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2383, allocations: 0 / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.2383, allocations: 8 kB / 0.6753 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2383, allocations: 4 kB / 0.6753 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2393, allocations: 0.7463 MB / 0.676 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2404, allocations: 0.5589 MB / 0.6766 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.241, allocations: 324.6 kB / 0.6769 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.2412, allocations: 109.4 kB / 0.677 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.2413, allocations: 20.25 kB / 0.677 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.2416, allocations: 188.8 kB / 0.6772 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.2417, allocations: 0 / 0.6772 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0009426/0.2426, allocations: 381.1 kB / 0.6775 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.2427, allocations: 81.11 kB / 0.6776 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.243, allocations: 291.1 kB / 0.6779 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.243, allocations: 33.7 kB / 0.6779 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.969e-05/0.2431, allocations: 120.7 kB / 0.678 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2433, allocations: 114.3 kB / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.2433, allocations: 61.69 kB / 0.6782 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2435, allocations: 334.8 kB / 0.6785 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.2437, allocations: 91.94 kB / 0.6786 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2439, allocations: 121.5 kB / 0.6787 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.2443, allocations: 224.9 kB / 0.6789 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2443, allocations: 0 / 0.6789 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005465/0.2449, allocations: 285.6 kB / 0.6792 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2449, allocations: 4 kB / 0.6792 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2449, allocations: 0 / 0.6792 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.245, allocations: 11.97 kB / 0.6792 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.2452, allocations: 63.91 kB / 0.6793 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2452, allocations: 0 / 0.6793 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2454, allocations: 27.73 kB / 0.6793 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.2454, allocations: 12 kB / 0.6793 GB, free: 8.832 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.000157/0.2456, allocations: 157.7 kB / 0.6795 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.2456, allocations: 23.72 kB / 0.6795 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.2458, allocations: 38.66 kB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2458, allocations: 7.938 kB / 0.6795 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.2458, allocations: 0 / 0.6795 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.2458, allocations: 7.984 kB / 0.6796 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.2462, allocations: 317.3 kB / 0.6799 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2462, allocations: 0 / 0.6799 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2464, allocations: 63.89 kB / 0.6799 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2465, allocations: 4 kB / 0.6799 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.2465, allocations: 12 kB / 0.6799 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2465, allocations: 3.938 kB / 0.6799 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2465, allocations: 0 / 0.6799 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.2471, allocations: 329.7 kB / 0.6802 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2472, allocations: 132.7 kB / 0.6804 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.2473, allocations: 7.984 kB / 0.6804 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2474, allocations: 15.94 kB / 0.6804 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.2475, allocations: 23.97 kB / 0.6804 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2475, allocations: 19.98 kB / 0.6804 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001963/0.2477, allocations: 220.4 kB / 0.6806 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2477, allocations: 7.938 kB / 0.6807 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002996/0.248, allocations: 51.94 kB / 0.6807 GB, free: 7.324 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.001111/0.2491, allocations: 404.3 kB / 0.6811 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005862/0.2497, allocations: 240 kB / 0.6813 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2497, allocations: 0 / 0.6813 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.25, allocations: 147.7 kB / 0.6815 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2504, allocations: 24 kB / 0.6815 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2516, allocations: 0.4924 MB / 0.682 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.2521, allocations: 0.7535 MB / 0.6827 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003909/0.2525, allocations: 146.9 kB / 0.6828 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2526, allocations: 39.42 kB / 0.6829 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.2526, allocations: 0 / 0.6829 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.007249/0.2599, allocations: 2.623 MB / 0.6854 GB, free: 2.574 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)