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.008391/0.008391, allocations: 106.1 kB / 15.74 MB, free: 6.035 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.001393/0.001394, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.516/1.516, allocations: 205.1 MB / 222.6 MB, free: 4.402 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.6632/0.6632, allocations: 95.48 MB / 365.4 MB, free: 9.699 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.001394/0.001394, allocations: 70.41 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1647, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002977/0.1677, allocations: 1.578 MB / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1697, allocations: 1.271 MB / 0.5739 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.1698, allocations: 7.938 kB / 0.5739 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1701, allocations: 23.86 kB / 0.5739 GB, free: 5.422 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.0002526/0.1703, allocations: 43.78 kB / 0.5739 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1708, allocations: 142.8 kB / 0.5741 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.1711, allocations: 209.7 kB / 0.5743 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1712, allocations: 19.98 kB / 0.5743 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1714, allocations: 67.83 kB / 0.5744 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1715, allocations: 75.78 kB / 0.5744 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.1716, allocations: 16 kB / 0.5744 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1719, allocations: 167.8 kB / 0.5746 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.172, allocations: 71.81 kB / 0.5747 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.751e-05/0.1721, allocations: 83.42 kB / 0.5748 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1725, allocations: 299.1 kB / 0.575 GB, free: 4.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1726, allocations: 4 kB / 0.575 GB, free: 4.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1726, allocations: 0 / 0.575 GB, free: 4.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1726, allocations: 4 kB / 0.575 GB, free: 4.242 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.0009023/0.1735, allocations: 0.5432 MB / 0.5756 GB, free: 3.645 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1735, allocations: 19.97 kB / 0.5756 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.1736, allocations: 24.66 kB / 0.5756 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1739, allocations: 255.5 kB / 0.5759 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.174, allocations: 8 kB / 0.5759 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.174, allocations: 20 kB / 0.5759 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1743, allocations: 194.9 kB / 0.5761 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1743, allocations: 0 / 0.5761 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1744, allocations: 8 kB / 0.5761 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1744, allocations: 7.938 kB / 0.5761 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.1752, allocations: 0.7295 MB / 0.5768 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.1761, allocations: 0.5435 MB / 0.5773 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1766, allocations: 291.5 kB / 0.5776 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1768, allocations: 105.4 kB / 0.5777 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.1774, allocations: 0.6573 MB / 0.5784 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.1778, allocations: 172.1 kB / 0.5785 GB, free: 368 kB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.1778, allocations: 0 / 0.5785 GB, free: 368 kB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007672/0.1786, allocations: 365.1 kB / 0.5789 GB, free: 15.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.718e-05/0.1787, allocations: 92.98 kB / 0.579 GB, free: 15.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.1791, allocations: 287.6 kB / 0.5792 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1791, allocations: 33.7 kB / 0.5793 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1792, allocations: 120.7 kB / 0.5794 GB, free: 15.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1793, allocations: 114.4 kB / 0.5795 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1795, allocations: 61.69 kB / 0.5795 GB, free: 15.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1796, allocations: 338.8 kB / 0.5799 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1798, allocations: 75.95 kB / 0.5799 GB, free: 14.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.18, allocations: 113.8 kB / 0.5801 GB, free: 14.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1804, allocations: 231 kB / 0.5803 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1804, allocations: 0 / 0.5803 GB, free: 14.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004657/0.1809, allocations: 310.7 kB / 0.5806 GB, free: 14.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.1809, allocations: 37.64 kB / 0.5806 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1809, allocations: 32 / 0.5806 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.181, allocations: 4 kB / 0.5806 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1812, allocations: 59.91 kB / 0.5807 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1812, allocations: 0 / 0.5807 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1813, allocations: 27.73 kB / 0.5807 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1814, allocations: 12 kB / 0.5807 GB, free: 14.02 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.0001654/0.1815, allocations: 157.8 kB / 0.5809 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.1816, allocations: 31.64 kB / 0.5809 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.1821, allocations: 313.3 kB / 0.5812 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1822, allocations: 0 / 0.5812 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1822, allocations: 4 kB / 0.5812 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1822, allocations: 3.984 kB / 0.5812 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1825, allocations: 309.3 kB / 0.5815 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1825, allocations: 4 kB / 0.5815 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1827, allocations: 63.84 kB / 0.5815 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1827, allocations: 7.938 kB / 0.5816 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1827, allocations: 8 kB / 0.5816 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1828, allocations: 7.984 kB / 0.5816 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1828, allocations: 0 / 0.5816 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.1832, allocations: 316.8 kB / 0.5819 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.1834, allocations: 140.6 kB / 0.582 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.1835, allocations: 11.94 kB / 0.582 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.1835, allocations: 8 kB / 0.582 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.1836, allocations: 23.97 kB / 0.5821 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1836, allocations: 15.98 kB / 0.5821 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1839, allocations: 228.1 kB / 0.5823 GB, free: 12.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1839, allocations: 0 / 0.5823 GB, free: 12.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1842, allocations: 63.98 kB / 0.5823 GB, free: 12.24 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.001015/0.1852, allocations: 412.6 kB / 0.5827 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.1857, allocations: 279.4 kB / 0.583 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1857, allocations: 0 / 0.583 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.1859, allocations: 135.8 kB / 0.5831 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1861, allocations: 37.81 kB / 0.5832 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.187, allocations: 492.3 kB / 0.5836 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1874, allocations: 0.7574 MB / 0.5844 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.1877, allocations: 138.8 kB / 0.5845 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1878, allocations: 39.42 kB / 0.5845 GB, free: 10.05 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1879, allocations: 4 kB / 0.5846 GB, free: 10.05 MB / 462.1 MB Notification: Performance of Templates: time 0.006301/0.1942, allocations: 2.676 MB / 0.5872 GB, free: 7.391 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)