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.0009762/0.0009762, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001225/0.001226, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.7142/0.7142, allocations: 95.62 MB / 366 MB, free: 10.44 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.000656/0.0006561, allocations: 12 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4085, allocations: 70.33 MB / 0.5051 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.001991/0.4106, allocations: 1.384 MB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.4125, allocations: 1.544 MB / 0.5079 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.4126, allocations: 0 / 0.5079 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.4128, allocations: 23.91 kB / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.413, allocations: 43.77 kB / 0.508 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.4134, allocations: 131.7 kB / 0.5081 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.4136, allocations: 189.5 kB / 0.5083 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.4137, allocations: 24.2 kB / 0.5083 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.4138, allocations: 59.83 kB / 0.5084 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.4139, allocations: 67.8 kB / 0.5084 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.4139, allocations: 8 kB / 0.5085 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.4142, allocations: 171.8 kB / 0.5086 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.4143, allocations: 63.81 kB / 0.5087 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.4143, allocations: 57.58 kB / 0.5087 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.4146, allocations: 225.6 kB / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4146, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4146, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.4146, allocations: 0 / 0.509 GB, free: 12.51 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.0006144/0.4152, allocations: 0.5312 MB / 0.5095 GB, free: 11.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4153, allocations: 11.98 kB / 0.5095 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4154, allocations: 23.72 kB / 0.5095 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4156, allocations: 262.5 kB / 0.5098 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4157, allocations: 16 kB / 0.5098 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.4157, allocations: 12 kB / 0.5098 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.416, allocations: 195.2 kB / 0.51 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.416, allocations: 0 / 0.51 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.416, allocations: 4 kB / 0.51 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.416, allocations: 4 kB / 0.51 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.4167, allocations: 0.7371 MB / 0.5107 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.4173, allocations: 0.563 MB / 0.5112 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.4177, allocations: 299.6 kB / 0.5115 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4178, allocations: 105.4 kB / 0.5116 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.4186, allocations: 1.378 MB / 0.513 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.4189, allocations: 175.3 kB / 0.5131 GB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.073e-06/0.4189, allocations: 3.984 kB / 0.5131 GB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005171/0.4194, allocations: 368.9 kB / 0.5135 GB, free: 7.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4195, allocations: 85.11 kB / 0.5136 GB, free: 7.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4197, allocations: 291.1 kB / 0.5139 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4197, allocations: 37.64 kB / 0.5139 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.4198, allocations: 124.7 kB / 0.514 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.4198, allocations: 114.3 kB / 0.5141 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.4199, allocations: 4 kB / 0.5141 GB, free: 6.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.4199, allocations: 338.8 kB / 0.5144 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.42, allocations: 79.95 kB / 0.5145 GB, free: 6.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4202, allocations: 114.7 kB / 0.5146 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4203, allocations: 133.5 kB / 0.5148 GB, free: 5.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4203, allocations: 3.938 kB / 0.5148 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003392/0.4207, allocations: 302.8 kB / 0.5151 GB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4207, allocations: 29.7 kB / 0.5151 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4207, allocations: 3.984 kB / 0.5151 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4207, allocations: 4 kB / 0.5151 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4209, allocations: 59.91 kB / 0.5151 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4209, allocations: 4 kB / 0.5152 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.421, allocations: 27.81 kB / 0.5152 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.421, allocations: 16 kB / 0.5152 GB, free: 5.535 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 0.0001098/0.4212, allocations: 153.8 kB / 0.5153 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.4212, allocations: 31.61 kB / 0.5154 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.4218, allocations: 385.1 kB / 0.5157 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4218, allocations: 8 kB / 0.5157 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4218, allocations: 0 / 0.5157 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4218, allocations: 0 / 0.5157 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.422, allocations: 325.2 kB / 0.5161 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.422, allocations: 0 / 0.5161 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.4222, allocations: 59.91 kB / 0.5161 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4222, allocations: 0 / 0.5161 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4222, allocations: 15.98 kB / 0.5161 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.4222, allocations: 4 kB / 0.5161 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4222, allocations: 0 / 0.5161 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.4226, allocations: 329.5 kB / 0.5164 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.4227, allocations: 144.6 kB / 0.5166 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4227, allocations: 8 kB / 0.5166 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.4228, allocations: 8 kB / 0.5166 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4228, allocations: 19.97 kB / 0.5166 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4229, allocations: 15.98 kB / 0.5166 GB, free: 3.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.423, allocations: 224.6 kB / 0.5168 GB, free: 3.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.423, allocations: 0 / 0.5168 GB, free: 3.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.4233, allocations: 75.98 kB / 0.5169 GB, free: 3.668 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.0008734/0.4242, allocations: 427.6 kB / 0.5173 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4245, allocations: 279.5 kB / 0.5176 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4245, allocations: 0 / 0.5176 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4247, allocations: 123.8 kB / 0.5177 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4249, allocations: 36.61 kB / 0.5177 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.4256, allocations: 0.5758 MB / 0.5183 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.4258, allocations: 0.7572 MB / 0.519 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002766/0.4261, allocations: 142.9 kB / 0.5192 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.4262, allocations: 39.42 kB / 0.5192 GB, free: 1.383 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4262, allocations: 0 / 0.5192 GB, free: 1.383 MB / 382.1 MB Notification: Performance of Templates: time 0.006094/0.4323, allocations: 2.684 MB / 0.5218 GB, free: 14.71 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: