Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009151/0.009151, allocations: 101.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 187.3 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6029/0.6029, allocations: 95.48 MB / 365.4 MB, free: 9.695 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 69.05 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1766, allocations: 69.09 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.003194/0.1798, allocations: 1.578 MB / 0.5726 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.1819, allocations: 1.271 MB / 0.5739 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.182, allocations: 0 / 0.5739 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.1822, allocations: 27.78 kB / 0.5739 GB, free: 5.387 MB / 446.1 MB [/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.0002499/0.1825, allocations: 47.77 kB / 0.5739 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1829, allocations: 135.6 kB / 0.5741 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1832, allocations: 213.7 kB / 0.5743 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1834, allocations: 19.98 kB / 0.5743 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.1835, allocations: 67.83 kB / 0.5744 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1836, allocations: 79.78 kB / 0.5744 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1837, allocations: 16 kB / 0.5745 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1839, allocations: 151.9 kB / 0.5746 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.184, allocations: 79.75 kB / 0.5747 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1842, allocations: 95.39 kB / 0.5748 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.1845, allocations: 299.1 kB / 0.5751 GB, free: 4.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1846, allocations: 4 kB / 0.5751 GB, free: 4.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1846, allocations: 0 / 0.5751 GB, free: 4.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1846, allocations: 0 / 0.5751 GB, free: 4.199 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.0007837/0.1854, allocations: 0.5432 MB / 0.5756 GB, free: 3.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1854, allocations: 11.98 kB / 0.5756 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.1855, allocations: 24.66 kB / 0.5756 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1858, allocations: 255.5 kB / 0.5759 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1858, allocations: 16 kB / 0.5759 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1858, allocations: 12 kB / 0.5759 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.1861, allocations: 199 kB / 0.5761 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1862, allocations: 0 / 0.5761 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1862, allocations: 4 kB / 0.5761 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1862, allocations: 7.938 kB / 0.5761 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1873, allocations: 0.7334 MB / 0.5768 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.1881, allocations: 0.5435 MB / 0.5773 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.1886, allocations: 299.6 kB / 0.5776 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1887, allocations: 105.4 kB / 0.5777 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.1893, allocations: 0.6534 MB / 0.5784 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003426/0.1897, allocations: 176.1 kB / 0.5785 GB, free: 320 kB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.1897, allocations: 0 / 0.5785 GB, free: 320 kB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006758/0.1903, allocations: 361.2 kB / 0.5789 GB, free: 15.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1904, allocations: 88.98 kB / 0.579 GB, free: 15.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1907, allocations: 287.7 kB / 0.5792 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1908, allocations: 29.7 kB / 0.5793 GB, free: 15.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1909, allocations: 120.7 kB / 0.5794 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/0.191, allocations: 118.3 kB / 0.5795 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.1911, allocations: 61.69 kB / 0.5796 GB, free: 15.21 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1912, allocations: 334.8 kB / 0.5799 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1914, allocations: 79.95 kB / 0.5799 GB, free: 14.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1916, allocations: 113.8 kB / 0.5801 GB, free: 14.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1919, allocations: 230.9 kB / 0.5803 GB, free: 14.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1919, allocations: 0 / 0.5803 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004929/0.1924, allocations: 310.7 kB / 0.5806 GB, free: 14.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.1925, allocations: 33.64 kB / 0.5806 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1925, allocations: 0 / 0.5806 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1925, allocations: 8.031 kB / 0.5806 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1928, allocations: 55.97 kB / 0.5807 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1928, allocations: 3.938 kB / 0.5807 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1929, allocations: 23.75 kB / 0.5807 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.1929, allocations: 11.98 kB / 0.5807 GB, free: 13.99 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 (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): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0001937/0.1931, allocations: 157.8 kB / 0.5809 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1932, allocations: 23.66 kB / 0.5809 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/0.1938, allocations: 317.2 kB / 0.5812 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1938, allocations: 7.984 kB / 0.5812 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1938, allocations: 0 / 0.5812 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1939, allocations: 3.984 kB / 0.5812 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.1942, allocations: 313.3 kB / 0.5815 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1942, allocations: 0 / 0.5815 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1944, allocations: 59.91 kB / 0.5815 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1944, allocations: 7.938 kB / 0.5816 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1944, allocations: 15.94 kB / 0.5816 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1944, allocations: 0 / 0.5816 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1944, allocations: 0 / 0.5816 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.1949, allocations: 316.8 kB / 0.5819 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1951, allocations: 148.5 kB / 0.582 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1951, allocations: 11.94 kB / 0.582 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.1952, allocations: 11.98 kB / 0.582 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.1953, allocations: 23.97 kB / 0.5821 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1954, allocations: 12 kB / 0.5821 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002266/0.1956, allocations: 232.1 kB / 0.5823 GB, free: 12.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1956, allocations: 0 / 0.5823 GB, free: 12.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1959, allocations: 60 kB / 0.5823 GB, free: 12.2 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 (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.001125/0.1971, allocations: 412 kB / 0.5827 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.1975, allocations: 279.4 kB / 0.583 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1975, allocations: 3.938 kB / 0.583 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.1977, allocations: 127.8 kB / 0.5831 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.198, allocations: 35.94 kB / 0.5832 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.1988, allocations: 496.3 kB / 0.5836 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1991, allocations: 0.7574 MB / 0.5844 GB, free: 10.19 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003086/0.1995, allocations: 142.8 kB / 0.5845 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.1996, allocations: 39.42 kB / 0.5846 GB, free: 10.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1996, allocations: 7.938 kB / 0.5846 GB, free: 10 MB / 462.1 MB Notification: Performance of Templates: time 0.006547/0.2061, allocations: 2.716 MB / 0.5872 GB, free: 7.301 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)