Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0011/0.0011, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3665/0.3665, allocations: 54.93 MB / 324.3 MB, free: 104 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.001299/0.001299, allocations: 64.33 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 59.59 MB / 454.3 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.1895/0.2994, allocations: 1.749 MB / 456 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3014, allocations: 1.517 MB / 457.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.3015, allocations: 5.75 kB / 457.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.3018, allocations: 22.81 kB / 457.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.302, allocations: 40.3 kB / 457.6 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3025, allocations: 101.7 kB / 457.7 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.3028, allocations: 203.9 kB / 457.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3029, allocations: 18.47 kB / 457.9 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.303, allocations: 70.38 kB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3032, allocations: 74.98 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.3033, allocations: 8.594 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.3035, allocations: 106.3 kB / 458.2 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.3036, allocations: 76.5 kB / 458.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.3037, allocations: 90.5 kB / 458.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.3041, allocations: 284.2 kB / 458.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3041, allocations: 0.625 kB / 458.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3041, allocations: 3.375 kB / 458.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3041, allocations: 0.9062 kB / 458.6 MB, free: 38.19 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.0007787/0.3049, allocations: 0.5345 MB / 459.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.305, allocations: 14.22 kB / 459.2 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3051, allocations: 24.69 kB / 459.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3054, allocations: 262 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3055, allocations: 13.3 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3055, allocations: 15.22 kB / 459.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3059, allocations: 197.5 kB / 459.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.306, allocations: 0 / 459.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.306, allocations: 6.688 kB / 459.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.306, allocations: 3.438 kB / 459.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.307, allocations: 0.74 MB / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.3079, allocations: 0.5537 MB / 461 MB, free: 37.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.3084, allocations: 298.1 kB / 461.3 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3085, allocations: 111 kB / 461.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.3091, allocations: 464.3 kB / 461.8 MB, free: 36.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003903/0.3095, allocations: 170.5 kB / 462 MB, free: 36.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.3096, allocations: 0 / 462 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006834/0.3103, allocations: 379.5 kB / 462.4 MB, free: 36.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3103, allocations: 80.2 kB / 462.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3106, allocations: 299.5 kB / 462.7 MB, free: 36.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3106, allocations: 29.7 kB / 462.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3107, allocations: 117.5 kB / 462.9 MB, free: 36.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.3108, allocations: 118.6 kB / 463 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.3109, allocations: 63.97 kB / 463 MB, free: 36.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.311, allocations: 340.4 kB / 463.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3111, allocations: 80.84 kB / 463.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3113, allocations: 114.4 kB / 463.6 MB, free: 35.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.3116, allocations: 218 kB / 463.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3116, allocations: 2.906 kB / 463.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004353/0.312, allocations: 279.4 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3121, allocations: 5.625 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3121, allocations: 0.9062 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3121, allocations: 6.469 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.3123, allocations: 58.25 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3123, allocations: 4.5 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.3124, allocations: 26.56 kB / 464.2 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3124, allocations: 8.531 kB / 464.2 MB, free: 35.41 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): 36 * 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.000123/0.3126, allocations: 159.9 kB / 464.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.3126, allocations: 23.28 kB / 464.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.3132, allocations: 388.6 kB / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3132, allocations: 2.781 kB / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3133, allocations: 0 / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3133, allocations: 3.859 kB / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3135, allocations: 328 kB / 465.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3135, allocations: 5.875 kB / 465.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3137, allocations: 62.92 kB / 465.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3137, allocations: 2.562 kB / 465.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3138, allocations: 15.98 kB / 465.1 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3138, allocations: 0.8125 kB / 465.1 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3138, allocations: 0.5469 kB / 465.1 MB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3142, allocations: 316.7 kB / 465.4 MB, free: 34.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.3143, allocations: 138.8 kB / 465.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.3143, allocations: 10.88 kB / 465.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3144, allocations: 10.27 kB / 465.6 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.3145, allocations: 27.59 kB / 465.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3145, allocations: 13.44 kB / 465.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.3147, allocations: 236 kB / 465.9 MB, free: 34.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3147, allocations: 0 / 465.9 MB, free: 34.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.315, allocations: 72.52 kB / 465.9 MB, free: 34.41 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.0009263/0.3159, allocations: 420.5 kB / 466.4 MB, free: 34.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3162, allocations: 229.7 kB / 466.6 MB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3163, allocations: 0 / 466.6 MB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3164, allocations: 128.2 kB / 466.7 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3167, allocations: 31.86 kB / 466.7 MB, free: 34.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.3174, allocations: 0.5934 MB / 467.3 MB, free: 33.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.3176, allocations: 0.7579 MB / 468.1 MB, free: 33.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002769/0.3179, allocations: 145.5 kB / 468.2 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.3179, allocations: 42.98 kB / 468.3 MB, free: 33.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3179, allocations: 0 / 468.3 MB, free: 33.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005137/0.3231, allocations: 2.786 MB / 471.1 MB, free: 32.86 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)