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.001585/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00174/0.001741, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.524/1.524, allocations: 205.1 MB / 222 MB, free: 4.762 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.565/0.565, allocations: 95.47 MB / 364.8 MB, free: 10.11 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.001838/0.001838, allocations: 63.91 kB / 444.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.002968/0.3243, allocations: 1.742 MB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.3263, allocations: 1.664 MB / 0.505 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.3264, allocations: 0 / 0.505 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.3267, allocations: 19.91 kB / 0.505 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.3269, allocations: 39.84 kB / 0.5051 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3272, allocations: 135.7 kB / 0.5052 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3274, allocations: 197.7 kB / 0.5054 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3276, allocations: 26.17 kB / 0.5054 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3277, allocations: 67.77 kB / 0.5055 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3278, allocations: 71.8 kB / 0.5056 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3278, allocations: 8 kB / 0.5056 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.3281, allocations: 183.8 kB / 0.5057 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.3282, allocations: 67.81 kB / 0.5058 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.3283, allocations: 103.3 kB / 0.5059 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.3286, allocations: 307.2 kB / 0.5062 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3286, allocations: 0 / 0.5062 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3286, allocations: 3.938 kB / 0.5062 GB, free: 12.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3286, allocations: 0 / 0.5062 GB, free: 12.97 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.0007256/0.3293, allocations: 0.5703 MB / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3294, allocations: 11.98 kB / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3295, allocations: 24.66 kB / 0.5068 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3297, allocations: 270.4 kB / 0.5071 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3297, allocations: 16 kB / 0.5071 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3298, allocations: 15.94 kB / 0.5071 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.3301, allocations: 191.9 kB / 0.5073 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3301, allocations: 4 kB / 0.5073 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3301, allocations: 8 kB / 0.5073 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3301, allocations: 4 kB / 0.5073 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.3308, allocations: 0.7446 MB / 0.508 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.3315, allocations: 0.5553 MB / 0.5086 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.3319, allocations: 295.6 kB / 0.5088 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.332, allocations: 105.4 kB / 0.5089 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.3327, allocations: 1.386 MB / 0.5103 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.3331, allocations: 187.1 kB / 0.5105 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3331, allocations: 0 / 0.5105 GB, free: 8.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005342/0.3337, allocations: 361 kB / 0.5108 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3337, allocations: 89.11 kB / 0.5109 GB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3339, allocations: 295.1 kB / 0.5112 GB, free: 7.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3339, allocations: 33.7 kB / 0.5112 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.334, allocations: 112.8 kB / 0.5113 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.334, allocations: 118.3 kB / 0.5114 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.3341, allocations: 65.69 kB / 0.5115 GB, free: 7.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.3342, allocations: 330.8 kB / 0.5118 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3343, allocations: 83.95 kB / 0.5119 GB, free: 6.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3344, allocations: 118.6 kB / 0.512 GB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3347, allocations: 238.3 kB / 0.5122 GB, free: 6.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3347, allocations: 0 / 0.5122 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003595/0.3351, allocations: 315.3 kB / 0.5125 GB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.3351, allocations: 31.73 kB / 0.5126 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3351, allocations: 0 / 0.5126 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3351, allocations: 7.922 kB / 0.5126 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3353, allocations: 55.92 kB / 0.5126 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3353, allocations: 3.984 kB / 0.5126 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.3354, allocations: 27.78 kB / 0.5127 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3354, allocations: 12 kB / 0.5127 GB, free: 5.773 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.0001108/0.3356, allocations: 169.7 kB / 0.5128 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.3356, allocations: 27.66 kB / 0.5129 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.3362, allocations: 380.2 kB / 0.5132 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3362, allocations: 11.94 kB / 0.5132 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3362, allocations: 0 / 0.5132 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3362, allocations: 0 / 0.5132 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3364, allocations: 333.2 kB / 0.5135 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3364, allocations: 4 kB / 0.5135 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.3366, allocations: 59.84 kB / 0.5136 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3366, allocations: 4 kB / 0.5136 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3366, allocations: 8 kB / 0.5136 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3366, allocations: 0 / 0.5136 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3366, allocations: 0 / 0.5136 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.337, allocations: 326.2 kB / 0.5139 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.3371, allocations: 144.6 kB / 0.5141 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.3372, allocations: 4 kB / 0.5141 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3372, allocations: 8 kB / 0.5141 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.3373, allocations: 19.97 kB / 0.5141 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.3373, allocations: 19.98 kB / 0.5141 GB, free: 4.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3375, allocations: 220.6 kB / 0.5143 GB, free: 3.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3375, allocations: 0 / 0.5143 GB, free: 3.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3377, allocations: 71.98 kB / 0.5144 GB, free: 3.902 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.0008412/0.3386, allocations: 425.2 kB / 0.5148 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.3389, allocations: 283 kB / 0.5151 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3389, allocations: 0 / 0.5151 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3391, allocations: 131.8 kB / 0.5152 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3393, allocations: 40.59 kB / 0.5152 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.34, allocations: 0.5792 MB / 0.5158 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3402, allocations: 0.7651 MB / 0.5165 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3404, allocations: 134.9 kB / 0.5167 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.3405, allocations: 43.41 kB / 0.5167 GB, free: 1.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3405, allocations: 0 / 0.5167 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Templates: time 0.005747/0.3463, allocations: 2.771 MB / 0.5194 GB, free: 14.84 MB / 398.1 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)