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.00118/0.00118, 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.001119/0.001119, allocations: 194.2 kB / 16.13 MB, free: 6.656 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.492/1.492, allocations: 205.1 MB / 222 MB, free: 4.965 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.7192/0.7192, allocations: 95.48 MB / 364.8 MB, free: 10.14 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.001679/0.001679, allocations: 64.34 kB / 444.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3329, allocations: 69.09 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002512/0.3354, allocations: 1.608 MB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3368, allocations: 1.267 MB / 0.5045 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.3368, allocations: 0 / 0.5045 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.337, allocations: 23.91 kB / 0.5045 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3372, allocations: 35.84 kB / 0.5046 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3375, allocations: 123.7 kB / 0.5047 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.3376, allocations: 181.7 kB / 0.5049 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3377, allocations: 25.95 kB / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.3378, allocations: 55.83 kB / 0.5049 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3379, allocations: 75.78 kB / 0.505 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3379, allocations: 8 kB / 0.505 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.3381, allocations: 147.9 kB / 0.5052 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.3382, allocations: 67.81 kB / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.3383, allocations: 91.39 kB / 0.5053 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3385, allocations: 287.1 kB / 0.5056 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3385, allocations: 0 / 0.5056 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3385, allocations: 3.984 kB / 0.5056 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.3386, allocations: 0 / 0.5056 GB, free: 13.62 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.0005685/0.3391, allocations: 0.547 MB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.3392, allocations: 11.98 kB / 0.5061 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.3392, allocations: 32.5 kB / 0.5062 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3394, allocations: 259 kB / 0.5064 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3394, allocations: 16 kB / 0.5064 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3395, allocations: 16 kB / 0.5064 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3397, allocations: 187 kB / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3397, allocations: 0 / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3398, allocations: 4 kB / 0.5066 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3398, allocations: 4 kB / 0.5066 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.3404, allocations: 0.7411 MB / 0.5074 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.341, allocations: 0.5473 MB / 0.5079 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.3414, allocations: 295.6 kB / 0.5082 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3415, allocations: 105.4 kB / 0.5083 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/0.3419, allocations: 0.6573 MB / 0.5089 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.3421, allocations: 172 kB / 0.5091 GB, free: 9.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3422, allocations: 0 / 0.5091 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005144/0.3427, allocations: 365.1 kB / 0.5094 GB, free: 9.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.3427, allocations: 88.98 kB / 0.5095 GB, free: 9.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3429, allocations: 288.3 kB / 0.5098 GB, free: 8.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3429, allocations: 33.7 kB / 0.5098 GB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.343, allocations: 124.7 kB / 0.5099 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.3431, allocations: 110.4 kB / 0.51 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.3431, allocations: 65.69 kB / 0.5101 GB, free: 8.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.3432, allocations: 334.8 kB / 0.5104 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3433, allocations: 75.95 kB / 0.5105 GB, free: 8.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3435, allocations: 109.7 kB / 0.5106 GB, free: 8.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.3437, allocations: 235.1 kB / 0.5108 GB, free: 7.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3438, allocations: 0 / 0.5108 GB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003712/0.3441, allocations: 306.9 kB / 0.5111 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3442, allocations: 29.7 kB / 0.5111 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3442, allocations: 3.938 kB / 0.5112 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3442, allocations: 7.984 kB / 0.5112 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.3444, allocations: 51.98 kB / 0.5112 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3444, allocations: 7.938 kB / 0.5112 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.3445, allocations: 19.83 kB / 0.5112 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.3445, allocations: 8 kB / 0.5112 GB, free: 7.414 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.0001198/0.3446, allocations: 165.8 kB / 0.5114 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3447, allocations: 23.72 kB / 0.5114 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.3452, allocations: 381.4 kB / 0.5118 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3452, allocations: 4 kB / 0.5118 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3453, allocations: 3.984 kB / 0.5118 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3453, allocations: 0 / 0.5118 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3455, allocations: 317.2 kB / 0.5121 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3455, allocations: 11.94 kB / 0.5121 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3456, allocations: 59.91 kB / 0.5122 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3457, allocations: 4 kB / 0.5122 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3457, allocations: 15.92 kB / 0.5122 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3457, allocations: 0 / 0.5122 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3457, allocations: 0 / 0.5122 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.346, allocations: 314 kB / 0.5125 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.3461, allocations: 144.6 kB / 0.5126 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3462, allocations: 15.94 kB / 0.5126 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.3463, allocations: 4 kB / 0.5126 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.3463, allocations: 19.97 kB / 0.5127 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3463, allocations: 19.98 kB / 0.5127 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3465, allocations: 220.4 kB / 0.5129 GB, free: 5.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3465, allocations: 0 / 0.5129 GB, free: 5.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3467, allocations: 67.98 kB / 0.513 GB, free: 5.559 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.0008078/0.3476, allocations: 408.4 kB / 0.5133 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000309/0.3479, allocations: 275.4 kB / 0.5136 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3479, allocations: 4 kB / 0.5136 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.348, allocations: 135.8 kB / 0.5137 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3483, allocations: 35.88 kB / 0.5138 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.3489, allocations: 0.5552 MB / 0.5143 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3491, allocations: 0.7495 MB / 0.515 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.3493, allocations: 146.9 kB / 0.5152 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.3494, allocations: 39.42 kB / 0.5152 GB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3494, allocations: 0 / 0.5152 GB, free: 3.305 MB / 382.1 MB Notification: Performance of Templates: time 0.005233/0.3546, allocations: 2.599 MB / 0.5178 GB, free: 0.7227 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (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)