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.1666/0.1674, allocations: 82.22 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002381/0.1699, allocations: 1.283 MB / 0.5947 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1714, allocations: 0.9694 MB / 0.5957 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.1715, allocations: 3.938 kB / 0.5957 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1718, allocations: 23.84 kB / 0.5957 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.172, allocations: 31.91 kB / 0.5957 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.1724, allocations: 87.77 kB / 0.5958 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1727, allocations: 177.7 kB / 0.596 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1728, allocations: 12.28 kB / 0.596 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.173, allocations: 59.83 kB / 0.5961 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1731, allocations: 67.78 kB / 0.5961 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.1732, allocations: 8 kB / 0.5961 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.1734, allocations: 75.95 kB / 0.5962 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.1735, allocations: 63.81 kB / 0.5963 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.1736, allocations: 49.58 kB / 0.5963 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1739, allocations: 195.6 kB / 0.5965 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1739, allocations: 0 / 0.5965 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1739, allocations: 0 / 0.5965 GB, free: 2.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1739, allocations: 4 kB / 0.5965 GB, free: 2.848 MB / 446.1 MB 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.0007542/0.1747, allocations: 487.4 kB / 0.597 GB, free: 2.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1747, allocations: 8.031 kB / 0.597 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.175, allocations: 47.69 kB / 0.597 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1753, allocations: 250.3 kB / 0.5973 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1753, allocations: 11.98 kB / 0.5973 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1754, allocations: 19.95 kB / 0.5973 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1757, allocations: 199.1 kB / 0.5975 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.1758, allocations: 0 / 0.5975 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1758, allocations: 4 kB / 0.5975 GB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1758, allocations: 8 kB / 0.5975 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.1767, allocations: 0.7412 MB / 0.5982 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.1776, allocations: 0.5552 MB / 0.5988 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.1781, allocations: 320.5 kB / 0.5991 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1784, allocations: 113.3 kB / 0.5992 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.1784, allocations: 16.25 kB / 0.5992 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.1788, allocations: 180.9 kB / 0.5994 GB, free: 15.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.893e-06/0.1788, allocations: 0 / 0.5994 GB, free: 15.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007667/0.1796, allocations: 385.1 kB / 0.5997 GB, free: 15.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1796, allocations: 81.11 kB / 0.5998 GB, free: 15.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.1799, allocations: 287.6 kB / 0.6001 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.18, allocations: 41.7 kB / 0.6001 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.18, allocations: 112.8 kB / 0.6002 GB, free: 14.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.1801, allocations: 114.4 kB / 0.6003 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.1802, allocations: 8 kB / 0.6003 GB, free: 14.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1803, allocations: 334.8 kB / 0.6007 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1805, allocations: 87.94 kB / 0.6007 GB, free: 14.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.1807, allocations: 118.8 kB / 0.6009 GB, free: 14.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1809, allocations: 112.6 kB / 0.601 GB, free: 14.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.181, allocations: 3.938 kB / 0.601 GB, free: 14.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004642/0.1814, allocations: 289.1 kB / 0.6012 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1815, allocations: 10.19 kB / 0.6012 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1815, allocations: 0 / 0.6012 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1815, allocations: 0 / 0.6012 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.1817, allocations: 63.94 kB / 0.6013 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1817, allocations: 0 / 0.6013 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1818, allocations: 27.73 kB / 0.6013 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.1819, allocations: 16 kB / 0.6014 GB, free: 13.63 MB / 462.1 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.000137/0.182, allocations: 157.7 kB / 0.6015 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1821, allocations: 23.72 kB / 0.6015 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/0.1828, allocations: 400.3 kB / 0.6019 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1828, allocations: 4 kB / 0.6019 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1828, allocations: 0 / 0.6019 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1828, allocations: 0 / 0.6019 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1831, allocations: 329.2 kB / 0.6022 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1832, allocations: 8 kB / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.1834, allocations: 55.91 kB / 0.6023 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1834, allocations: 4 kB / 0.6023 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1834, allocations: 8 kB / 0.6023 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1834, allocations: 3.984 kB / 0.6023 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1834, allocations: 0 / 0.6023 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.1839, allocations: 335 kB / 0.6026 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.184, allocations: 140.7 kB / 0.6028 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1841, allocations: 8 kB / 0.6028 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.1842, allocations: 11.98 kB / 0.6028 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.1842, allocations: 23.97 kB / 0.6028 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1843, allocations: 8 kB / 0.6028 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.1845, allocations: 228.3 kB / 0.603 GB, free: 11.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1845, allocations: 0 / 0.603 GB, free: 11.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1848, allocations: 56 kB / 0.6031 GB, free: 11.76 MB / 462.1 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 (34): * Single equations (assignments): 33 * 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.0008489/0.1856, allocations: 406.7 kB / 0.6035 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.1861, allocations: 235.8 kB / 0.6037 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1861, allocations: 0 / 0.6037 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1863, allocations: 131.8 kB / 0.6038 GB, free: 11.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1866, allocations: 31.94 kB / 0.6038 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.1875, allocations: 0.5501 MB / 0.6044 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1878, allocations: 0.7535 MB / 0.6051 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.1881, allocations: 142.8 kB / 0.6053 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.1882, allocations: 39.42 kB / 0.6053 GB, free: 9.602 MB / 462.1 MB Notification: Performance of SimCode: time 2.956e-06/0.1882, allocations: 0 / 0.6053 GB, free: 9.602 MB / 462.1 MB Notification: Performance of Templates: time 0.00587/0.1941, allocations: 2.422 MB / 0.6077 GB, free: 7.23 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: