Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5569/0.5569, allocations: 94.69 MB / 107.3 MB, free: 5.219 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001227/0.001227, allocations: 178.8 kB / 130.7 MB, free: 7.574 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.681/1.681, allocations: 170.5 MB / 324.5 MB, free: 4.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 111.3 kB / 386.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.607e-05/4.636e-05, allocations: 4 kB / 456 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4114, allocations: 61.51 MB / 0.5054 GB, free: 49.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5358, allocations: 97.03 MB / 0.6001 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.5361, allocations: 88.69 kB / 0.6002 GB, free: 14.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5535, allocations: 6.555 MB / 0.6066 GB, free: 8.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5535, allocations: 5.281 kB / 0.6066 GB, free: 8.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5535, allocations: 4 kB / 0.6066 GB, free: 8.066 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007284/0.5543, allocations: 0.5407 MB / 0.6072 GB, free: 7.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5543, allocations: 12.03 kB / 0.6072 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.5545, allocations: 27.66 kB / 0.6072 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.5549, allocations: 265.8 kB / 0.6075 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5549, allocations: 10.25 kB / 0.6075 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.5549, allocations: 20 kB / 0.6075 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.5553, allocations: 208 kB / 0.6077 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5554, allocations: 0 / 0.6077 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.5554, allocations: 4 kB / 0.6077 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5554, allocations: 4 kB / 0.6077 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/0.5564, allocations: 0.7701 MB / 0.6084 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.5573, allocations: 0.5861 MB / 0.609 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.5578, allocations: 311.7 kB / 0.6093 GB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.558, allocations: 109.4 kB / 0.6094 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.5592, allocations: 1.386 MB / 0.6108 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.5596, allocations: 178.8 kB / 0.6109 GB, free: 3.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.5596, allocations: 4 kB / 0.6109 GB, free: 3.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005669/0.5601, allocations: 293.7 kB / 0.6112 GB, free: 2.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.5602, allocations: 89.09 kB / 0.6113 GB, free: 2.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.5605, allocations: 242.9 kB / 0.6115 GB, free: 2.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.5606, allocations: 33.7 kB / 0.6116 GB, free: 2.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.5607, allocations: 120.8 kB / 0.6117 GB, free: 2.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.5608, allocations: 114.3 kB / 0.6118 GB, free: 2.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.5608, allocations: 8 kB / 0.6118 GB, free: 2.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5609, allocations: 344 kB / 0.6121 GB, free: 1.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5611, allocations: 99.98 kB / 0.6122 GB, free: 1.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.5613, allocations: 129.6 kB / 0.6123 GB, free: 1.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.5615, allocations: 183.8 kB / 0.6125 GB, free: 1.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5616, allocations: 0 / 0.6125 GB, free: 1.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000591/0.5622, allocations: 448.5 kB / 0.613 GB, free: 1.023 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.5622, allocations: 59.39 kB / 0.613 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5622, allocations: 4 kB / 0.613 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5622, allocations: 0 / 0.613 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.5625, allocations: 59.91 kB / 0.6131 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5625, allocations: 0 / 0.6131 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.5626, allocations: 23.84 kB / 0.6131 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5626, allocations: 15.98 kB / 0.6131 GB, free: 0.8516 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 2 * 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.000104/0.5628, allocations: 135.1 kB / 0.6132 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.5628, allocations: 23.72 kB / 0.6133 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.5635, allocations: 426.6 kB / 0.6137 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5636, allocations: 4 kB / 0.6137 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5636, allocations: 2.375 kB / 0.6137 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5636, allocations: 3.984 kB / 0.6137 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.5639, allocations: 341.1 kB / 0.614 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5639, allocations: 4 kB / 0.614 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.5641, allocations: 59.91 kB / 0.6141 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.5641, allocations: 0 / 0.6141 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.5642, allocations: 11.98 kB / 0.6141 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5642, allocations: 4 kB / 0.6141 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5642, allocations: 0 / 0.6141 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.5646, allocations: 331.5 kB / 0.6144 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5648, allocations: 164.6 kB / 0.6146 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.5649, allocations: 8 kB / 0.6146 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.565, allocations: 8 kB / 0.6146 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.565, allocations: 27.97 kB / 0.6146 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.5651, allocations: 15.92 kB / 0.6146 GB, free: 15.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001904/0.5653, allocations: 202.1 kB / 0.6148 GB, free: 15.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5653, allocations: 4 kB / 0.6148 GB, free: 15.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000342/0.5656, allocations: 91.92 kB / 0.6149 GB, free: 14.95 MB / 442.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.00072/0.5663, allocations: 312.5 kB / 0.6152 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.5669, allocations: 367.1 kB / 0.6155 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5669, allocations: 0 / 0.6155 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.5671, allocations: 143.7 kB / 0.6157 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.5673, allocations: 19.38 kB / 0.6157 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.5681, allocations: 403.9 kB / 0.6161 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5685, allocations: 0.7693 MB / 0.6168 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.5688, allocations: 150.7 kB / 0.617 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.5689, allocations: 43.42 kB / 0.617 GB, free: 12.83 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5689, allocations: 4 kB / 0.617 GB, free: 12.83 MB / 442.7 MB Notification: Performance of Templates: time 0.007257/0.5762, allocations: 2.845 MB / 0.6198 GB, free: 10.06 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)