Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001452/0.001452, 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.002376/0.002376, allocations: 195.5 kB / 16.14 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3999/0.3999, allocations: 54.93 MB / 324.3 MB, free: 200 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. 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.00132/0.00132, allocations: 67.91 kB / 394.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1452, allocations: 59.6 MB / 454.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.252/0.3973, allocations: 1.635 MB / 455.9 MB, free: 39.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.399, allocations: 1.053 MB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.3991, allocations: 0 / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3994, allocations: 24.31 kB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.3997, allocations: 28.52 kB / 457 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.4, allocations: 95.09 kB / 457.1 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.4003, allocations: 191 kB / 457.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.4004, allocations: 17.69 kB / 457.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.4006, allocations: 58.78 kB / 457.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.4008, allocations: 82.31 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.4008, allocations: 8.656 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.401, allocations: 78.66 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.376e-05/0.4012, allocations: 71.45 kB / 457.6 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.4012, allocations: 86.88 kB / 457.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.4016, allocations: 253.4 kB / 457.9 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4016, allocations: 2.875 kB / 458 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4016, allocations: 0 / 458 MB, free: 38.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4016, allocations: 0 / 458 MB, free: 38.78 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.0007731/0.4024, allocations: 0.5099 MB / 458.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4025, allocations: 12.88 kB / 458.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4028, allocations: 53.14 kB / 458.5 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4031, allocations: 249.4 kB / 458.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.4031, allocations: 16.12 kB / 458.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4031, allocations: 15.59 kB / 458.8 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.4035, allocations: 200.4 kB / 459 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4035, allocations: 1.562 kB / 459 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4036, allocations: 11.38 kB / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4036, allocations: 3.625 kB / 459 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.4045, allocations: 0.7482 MB / 459.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.4053, allocations: 0.5573 MB / 460.3 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.4059, allocations: 311.1 kB / 460.6 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.4061, allocations: 116.7 kB / 460.7 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.4061, allocations: 25.17 kB / 460.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.4065, allocations: 180.3 kB / 460.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.784e-06/0.4065, allocations: 0 / 460.9 MB, free: 37.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007097/0.4072, allocations: 383.4 kB / 461.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4073, allocations: 84.92 kB / 461.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4075, allocations: 296.8 kB / 461.7 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4075, allocations: 32.23 kB / 461.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.4076, allocations: 119.8 kB / 461.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.4077, allocations: 109.8 kB / 461.9 MB, free: 37.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.4078, allocations: 61.23 kB / 462 MB, free: 37.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.4078, allocations: 337.5 kB / 462.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.408, allocations: 89.89 kB / 462.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.4082, allocations: 114.7 kB / 462.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.4085, allocations: 230.2 kB / 462.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4085, allocations: 0 / 462.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004265/0.409, allocations: 282.2 kB / 463 MB, free: 36.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.409, allocations: 2.812 kB / 463 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.409, allocations: 1.406 kB / 463 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.409, allocations: 6.297 kB / 463 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4093, allocations: 62.67 kB / 463.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4093, allocations: 7.562 kB / 463.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4094, allocations: 25.86 kB / 463.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4094, allocations: 13.56 kB / 463.1 MB, free: 36.61 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): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0001547/0.4096, allocations: 155.9 kB / 463.3 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.4096, allocations: 23.25 kB / 463.3 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.4104, allocations: 395.6 kB / 463.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4104, allocations: 7.094 kB / 463.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4104, allocations: 7.688 kB / 463.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4104, allocations: 7.266 kB / 463.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.4107, allocations: 317.8 kB / 464 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4107, allocations: 0 / 464 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.4109, allocations: 62.27 kB / 464.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4109, allocations: 3.031 kB / 464.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.4109, allocations: 12.25 kB / 464.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4109, allocations: 4.031 kB / 464.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4109, allocations: 3.938 kB / 464.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.4114, allocations: 327.5 kB / 464.4 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.4115, allocations: 138.4 kB / 464.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4116, allocations: 8.078 kB / 464.6 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.4117, allocations: 13.78 kB / 464.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.4117, allocations: 26.44 kB / 464.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4118, allocations: 11.78 kB / 464.6 MB, free: 35.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.4119, allocations: 223.1 kB / 464.9 MB, free: 35.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4119, allocations: 0 / 464.9 MB, free: 35.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4122, allocations: 47.62 kB / 464.9 MB, free: 35.64 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.0009935/0.4132, allocations: 411.5 kB / 465.3 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004381/0.4136, allocations: 246.4 kB / 465.5 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4137, allocations: 0 / 465.5 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.4139, allocations: 131.8 kB / 465.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.4141, allocations: 32.23 kB / 465.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.4149, allocations: 0.5654 MB / 466.3 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4152, allocations: 0.7548 MB / 467 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.4155, allocations: 148.6 kB / 467.2 MB, free: 34.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.4156, allocations: 38.08 kB / 467.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4156, allocations: 2.875 kB / 467.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of Templates: time 0.005037/0.4206, allocations: 2.505 MB / 469.7 MB, free: 34.12 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)