Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 91.06 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.007998/0.007999, allocations: 172.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.65/1.65, 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.6598/0.6598, allocations: 95.62 MB / 366.4 MB, free: 10.25 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.0006107/0.0006107, allocations: 12 kB / 447.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3542, allocations: 70.35 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.001707/0.356, allocations: 1.273 MB / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3575, allocations: 1.243 MB / 0.5081 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.3576, allocations: 4 kB / 0.5081 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3578, allocations: 19.92 kB / 0.5082 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.358, allocations: 35.83 kB / 0.5082 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3584, allocations: 119.8 kB / 0.5083 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3586, allocations: 185.7 kB / 0.5085 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3587, allocations: 21.91 kB / 0.5085 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.3588, allocations: 63.83 kB / 0.5086 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3589, allocations: 63.8 kB / 0.5086 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.359, allocations: 8 kB / 0.5086 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.3592, allocations: 159.8 kB / 0.5088 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.3593, allocations: 63.81 kB / 0.5088 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.3594, allocations: 113.1 kB / 0.509 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3596, allocations: 275.2 kB / 0.5092 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3597, allocations: 0 / 0.5092 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3597, allocations: 0 / 0.5092 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3597, allocations: 4 kB / 0.5092 GB, free: 12.67 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005913/0.3603, allocations: 0.512 MB / 0.5097 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3603, allocations: 15.98 kB / 0.5097 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.3604, allocations: 20.66 kB / 0.5098 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3606, allocations: 255 kB / 0.51 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3606, allocations: 8 kB / 0.51 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3606, allocations: 23.92 kB / 0.51 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3609, allocations: 198.9 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3609, allocations: 0 / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3609, allocations: 8 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3609, allocations: 4 kB / 0.5102 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.3616, allocations: 0.7256 MB / 0.5109 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.3622, allocations: 0.5434 MB / 0.5115 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.3626, allocations: 303.5 kB / 0.5118 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3627, allocations: 105.4 kB / 0.5119 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/0.3631, allocations: 0.6573 MB / 0.5125 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.3634, allocations: 172 kB / 0.5127 GB, free: 8.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.3634, allocations: 3.984 kB / 0.5127 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005442/0.3639, allocations: 365.1 kB / 0.513 GB, free: 8.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.364, allocations: 85.05 kB / 0.5131 GB, free: 8.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3642, allocations: 288.3 kB / 0.5134 GB, free: 8.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3642, allocations: 33.7 kB / 0.5134 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.3643, allocations: 124.6 kB / 0.5135 GB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.3644, allocations: 110.5 kB / 0.5136 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3644, allocations: 29.7 kB / 0.5137 GB, free: 7.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.3645, allocations: 342.8 kB / 0.514 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3646, allocations: 79.95 kB / 0.5141 GB, free: 7.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3647, allocations: 105.7 kB / 0.5142 GB, free: 7.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.365, allocations: 231.1 kB / 0.5144 GB, free: 6.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.365, allocations: 3.938 kB / 0.5144 GB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003215/0.3653, allocations: 302.9 kB / 0.5147 GB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3653, allocations: 29.7 kB / 0.5147 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3653, allocations: 11.88 kB / 0.5147 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3654, allocations: 4.031 kB / 0.5147 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3655, allocations: 59.91 kB / 0.5148 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3656, allocations: 4 kB / 0.5148 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.3656, allocations: 15.84 kB / 0.5148 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.3657, allocations: 15.98 kB / 0.5148 GB, free: 6.527 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 (35): * Single equations (assignments): 34 * 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.000105/0.3658, allocations: 161.7 kB / 0.515 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3658, allocations: 27.62 kB / 0.515 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.3664, allocations: 385.5 kB / 0.5154 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3664, allocations: 4 kB / 0.5154 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3664, allocations: 3.938 kB / 0.5154 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3664, allocations: 3.984 kB / 0.5154 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3666, allocations: 313.3 kB / 0.5157 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3666, allocations: 0 / 0.5157 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3668, allocations: 63.91 kB / 0.5157 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3668, allocations: 0 / 0.5157 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3668, allocations: 15.94 kB / 0.5157 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3668, allocations: 4 kB / 0.5158 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3668, allocations: 0 / 0.5158 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3671, allocations: 317.9 kB / 0.5161 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.3672, allocations: 144.7 kB / 0.5162 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3673, allocations: 7.938 kB / 0.5162 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3673, allocations: 8 kB / 0.5162 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.3674, allocations: 27.97 kB / 0.5162 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3674, allocations: 11.98 kB / 0.5162 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3676, allocations: 224.4 kB / 0.5165 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3676, allocations: 0 / 0.5165 GB, free: 4.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3678, allocations: 63.98 kB / 0.5165 GB, free: 4.676 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 (34): * Single equations (assignments): 33 * 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.0007705/0.3686, allocations: 415 kB / 0.5169 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.3689, allocations: 275.4 kB / 0.5172 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3689, allocations: 0 / 0.5172 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3691, allocations: 135.7 kB / 0.5173 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3693, allocations: 31.95 kB / 0.5173 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.37, allocations: 0.5657 MB / 0.5179 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3702, allocations: 0.7573 MB / 0.5186 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.3704, allocations: 138.9 kB / 0.5188 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.3705, allocations: 39.42 kB / 0.5188 GB, free: 2.414 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3705, allocations: 0 / 0.5188 GB, free: 2.414 MB / 382.1 MB Notification: Performance of Templates: time 0.004988/0.3755, allocations: 2.553 MB / 0.5213 GB, free: 15.87 MB / 398.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1) Environment - environmentSimulation: