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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008634/0.0008636, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.5518/0.5518, allocations: 95.58 MB / 366 MB, free: 10.43 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.0005206/0.0005208, allocations: 16 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2644, allocations: 70.33 MB / 0.505 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.001462/0.2659, allocations: 1.384 MB / 0.5064 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2675, allocations: 1.544 MB / 0.5079 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.2676, allocations: 0 / 0.5079 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.2678, allocations: 19.91 kB / 0.5079 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.268, allocations: 43.83 kB / 0.5079 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.2684, allocations: 131.6 kB / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.2686, allocations: 137.8 kB / 0.5082 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2687, allocations: 12.23 kB / 0.5082 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2688, allocations: 59.83 kB / 0.5082 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.269, allocations: 59.81 kB / 0.5083 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.269, allocations: 8 kB / 0.5083 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2692, allocations: 155.8 kB / 0.5085 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.2693, allocations: 59.83 kB / 0.5085 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2694, allocations: 57.58 kB / 0.5086 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2696, allocations: 233.7 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2696, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2696, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2696, allocations: 0 / 0.5088 GB, free: 12.77 MB / 382.1 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.0005253/0.2702, allocations: 0.5235 MB / 0.5093 GB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.2702, allocations: 15.98 kB / 0.5093 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.2703, allocations: 23.72 kB / 0.5093 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.2705, allocations: 258.5 kB / 0.5096 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2705, allocations: 12 kB / 0.5096 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.2706, allocations: 16 kB / 0.5096 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2708, allocations: 195.2 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2708, allocations: 3.984 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.2708, allocations: 4 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2709, allocations: 8 kB / 0.5098 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.2715, allocations: 0.7332 MB / 0.5105 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.2721, allocations: 0.5474 MB / 0.5111 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.2724, allocations: 311.5 kB / 0.5114 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.273, allocations: 1.374 MB / 0.5127 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.2733, allocations: 179.3 kB / 0.5129 GB, free: 8.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.2733, allocations: 0 / 0.5129 GB, free: 8.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0004644/0.2737, allocations: 364.9 kB / 0.5132 GB, free: 7.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2738, allocations: 85.09 kB / 0.5133 GB, free: 7.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.274, allocations: 295.1 kB / 0.5136 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.274, allocations: 33.7 kB / 0.5136 GB, free: 7.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.274, allocations: 120.7 kB / 0.5137 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.2741, allocations: 118.3 kB / 0.5138 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.2741, allocations: 7.938 kB / 0.5139 GB, free: 7.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.2742, allocations: 338.8 kB / 0.5142 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2743, allocations: 79.95 kB / 0.5143 GB, free: 6.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2744, allocations: 110.7 kB / 0.5144 GB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2745, allocations: 125.5 kB / 0.5145 GB, free: 6.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2745, allocations: 0 / 0.5145 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003128/0.2749, allocations: 310.8 kB / 0.5148 GB, free: 6.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.2749, allocations: 35.58 kB / 0.5148 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2749, allocations: 0 / 0.5148 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2749, allocations: 0 / 0.5148 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2751, allocations: 59.91 kB / 0.5149 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2751, allocations: 4.031 kB / 0.5149 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.2752, allocations: 19.84 kB / 0.5149 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.2752, allocations: 23.94 kB / 0.5149 GB, free: 5.922 MB / 382.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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 9.601e-05/0.2753, allocations: 161.8 kB / 0.5151 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2754, allocations: 27.62 kB / 0.5151 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.2758, allocations: 381.1 kB / 0.5155 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2759, allocations: 4 kB / 0.5155 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2759, allocations: 0 / 0.5155 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2759, allocations: 3.984 kB / 0.5155 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2761, allocations: 329.2 kB / 0.5158 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2761, allocations: 0 / 0.5158 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2762, allocations: 59.91 kB / 0.5158 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.2763, allocations: 4 kB / 0.5158 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.2763, allocations: 11.98 kB / 0.5159 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2763, allocations: 0 / 0.5159 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2763, allocations: 7.938 kB / 0.5159 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.2766, allocations: 321.5 kB / 0.5162 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.2767, allocations: 144.6 kB / 0.5163 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.2768, allocations: 7.984 kB / 0.5163 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.2768, allocations: 8 kB / 0.5163 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2769, allocations: 27.97 kB / 0.5163 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2769, allocations: 15.98 kB / 0.5164 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.277, allocations: 224.6 kB / 0.5166 GB, free: 4.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 0 / 0.5166 GB, free: 4.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.2773, allocations: 67.98 kB / 0.5166 GB, free: 4.055 MB / 382.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 (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.0007307/0.278, allocations: 423.6 kB / 0.517 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.2783, allocations: 279.5 kB / 0.5173 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2784, allocations: 3.938 kB / 0.5173 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2785, allocations: 131.8 kB / 0.5174 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.2787, allocations: 28.61 kB / 0.5175 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.2793, allocations: 0.5657 MB / 0.518 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2794, allocations: 0.7727 MB / 0.5188 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.2796, allocations: 142.8 kB / 0.5189 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.2797, allocations: 43.42 kB / 0.519 GB, free: 1.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2797, allocations: 0 / 0.519 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Templates: time 0.004865/0.2846, allocations: 2.677 MB / 0.5216 GB, free: 15.1 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: