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.0009062/0.0009067, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00584/0.005841, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.639/1.639, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6936/0.6936, allocations: 95.63 MB / 366.4 MB, free: 10.22 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.000812/0.0008127, allocations: 16 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3681, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002824/0.371, allocations: 1.4 MB / 0.507 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.3739, allocations: 1.645 MB / 0.5086 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.374, allocations: 0 / 0.5086 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3743, allocations: 19.86 kB / 0.5087 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3745, allocations: 35.84 kB / 0.5087 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.3751, allocations: 143.6 kB / 0.5088 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.3754, allocations: 201.6 kB / 0.509 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3755, allocations: 22.19 kB / 0.509 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3757, allocations: 59.83 kB / 0.5091 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.3758, allocations: 79.72 kB / 0.5092 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3759, allocations: 4 kB / 0.5092 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.3762, allocations: 183.8 kB / 0.5094 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.3763, allocations: 63.83 kB / 0.5094 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3764, allocations: 117 kB / 0.5095 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.3768, allocations: 307.1 kB / 0.5098 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3768, allocations: 0 / 0.5098 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3768, allocations: 0 / 0.5098 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3769, allocations: 0 / 0.5098 GB, free: 12.04 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.0007413/0.3776, allocations: 0.5275 MB / 0.5103 GB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3777, allocations: 15.98 kB / 0.5104 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3778, allocations: 32.59 kB / 0.5104 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3781, allocations: 266.4 kB / 0.5106 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.3781, allocations: 15.98 kB / 0.5107 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3781, allocations: 12 kB / 0.5107 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.3785, allocations: 199.9 kB / 0.5109 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3785, allocations: 0 / 0.5109 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3785, allocations: 4 kB / 0.5109 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3785, allocations: 8 kB / 0.5109 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.3793, allocations: 0.7485 MB / 0.5116 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.38, allocations: 0.5474 MB / 0.5121 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.3805, allocations: 299.6 kB / 0.5124 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3806, allocations: 109.4 kB / 0.5125 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/0.3814, allocations: 1.378 MB / 0.5139 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.3817, allocations: 179.2 kB / 0.514 GB, free: 7.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.3817, allocations: 4 kB / 0.514 GB, free: 7.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005665/0.3823, allocations: 369 kB / 0.5144 GB, free: 6.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3824, allocations: 81.11 kB / 0.5145 GB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3826, allocations: 291.1 kB / 0.5148 GB, free: 6.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3826, allocations: 37.64 kB / 0.5148 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.3827, allocations: 120.7 kB / 0.5149 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.3828, allocations: 114.3 kB / 0.515 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.3829, allocations: 37.7 kB / 0.515 GB, free: 6.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.3829, allocations: 334.8 kB / 0.5154 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3831, allocations: 79.95 kB / 0.5154 GB, free: 5.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3832, allocations: 114.7 kB / 0.5156 GB, free: 5.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.3835, allocations: 238.3 kB / 0.5158 GB, free: 5.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3835, allocations: 0 / 0.5158 GB, free: 5.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003724/0.3839, allocations: 307.3 kB / 0.5161 GB, free: 5.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.3839, allocations: 37.69 kB / 0.5161 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.3839, allocations: 0 / 0.5161 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3839, allocations: 3.938 kB / 0.5161 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3841, allocations: 71.94 kB / 0.5162 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3841, allocations: 0 / 0.5162 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.3842, allocations: 19.84 kB / 0.5162 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.3843, allocations: 12 kB / 0.5162 GB, free: 4.906 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 (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 (36): * Single equations (assignments): 35 * 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.0001421/0.3844, allocations: 161.7 kB / 0.5164 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3845, allocations: 27.66 kB / 0.5164 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.385, allocations: 388.2 kB / 0.5168 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3851, allocations: 4 kB / 0.5168 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3851, allocations: 0 / 0.5168 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3851, allocations: 0 / 0.5168 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3853, allocations: 333.2 kB / 0.5171 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3853, allocations: 3.938 kB / 0.5171 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3855, allocations: 59.84 kB / 0.5171 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3855, allocations: 4 kB / 0.5171 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3855, allocations: 8 kB / 0.5172 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3855, allocations: 4 kB / 0.5172 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3855, allocations: 0 / 0.5172 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3859, allocations: 322.2 kB / 0.5175 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.386, allocations: 144.6 kB / 0.5176 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.386, allocations: 8 kB / 0.5176 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.3861, allocations: 15.92 kB / 0.5176 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.3862, allocations: 27.97 kB / 0.5177 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3862, allocations: 12 kB / 0.5177 GB, free: 3.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3863, allocations: 224.6 kB / 0.5179 GB, free: 3.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3863, allocations: 0 / 0.5179 GB, free: 3.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3866, allocations: 68 kB / 0.5179 GB, free: 3.031 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 (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.0008451/0.3875, allocations: 426.8 kB / 0.5184 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.3879, allocations: 283 kB / 0.5186 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3879, allocations: 0 / 0.5186 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.388, allocations: 131.8 kB / 0.5187 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3883, allocations: 36.59 kB / 0.5188 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.389, allocations: 0.5881 MB / 0.5194 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.3892, allocations: 0.7574 MB / 0.5201 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.3895, allocations: 146.8 kB / 0.5202 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.3896, allocations: 39.42 kB / 0.5203 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3896, allocations: 0 / 0.5203 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of Templates: time 0.005893/0.3955, allocations: 2.733 MB / 0.5229 GB, free: 14 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: