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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3382/0.3382, allocations: 54.42 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.8 kB / 75.62 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.45/1.45, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 120.8 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.496e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.353, allocations: 57.65 MB / 463.2 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4833, allocations: 87.71 MB / 0.538 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4836, allocations: 83.95 kB / 0.538 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.5, allocations: 5.952 MB / 0.5438 GB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.5001, allocations: 0 / 0.5438 GB, free: 7.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.5001, allocations: 7.938 kB / 0.5439 GB, free: 7.496 MB / 394.7 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.0008276/0.5009, allocations: 0.5084 MB / 0.5444 GB, free: 6.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.501, allocations: 12.03 kB / 0.5444 GB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.5012, allocations: 23.72 kB / 0.5444 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5015, allocations: 260.9 kB / 0.5446 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5016, allocations: 8 kB / 0.5446 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.5016, allocations: 8 kB / 0.5446 GB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/0.5027, allocations: 0.773 MB / 0.5454 GB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.5031, allocations: 186.1 kB / 0.5456 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5031, allocations: 3.984 kB / 0.5456 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.5031, allocations: 0 / 0.5456 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5031, allocations: 4 kB / 0.5456 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009814/0.5041, allocations: 0.5346 MB / 0.5461 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.5046, allocations: 297.2 kB / 0.5464 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5048, allocations: 97.41 kB / 0.5465 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.5055, allocations: 465.7 kB / 0.5469 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.5058, allocations: 174.8 kB / 0.5471 GB, free: 3.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.5058, allocations: 0 / 0.5471 GB, free: 3.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.00136/0.5071, allocations: 376.9 kB / 0.5475 GB, free: 3.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.5072, allocations: 85.05 kB / 0.5475 GB, free: 3.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.5075, allocations: 243 kB / 0.5478 GB, free: 3.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.5075, allocations: 25.7 kB / 0.5478 GB, free: 3.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.5076, allocations: 116.9 kB / 0.5479 GB, free: 3.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.34e-05/0.5077, allocations: 110.4 kB / 0.548 GB, free: 2.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.5077, allocations: 0 / 0.548 GB, free: 2.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5079, allocations: 337.6 kB / 0.5483 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.508, allocations: 91.97 kB / 0.5484 GB, free: 2.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.5082, allocations: 124.9 kB / 0.5485 GB, free: 2.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.5092, allocations: 207.8 kB / 0.5487 GB, free: 2.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5092, allocations: 4 kB / 0.5487 GB, free: 2.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001304/0.5105, allocations: 470.9 kB / 0.5492 GB, free: 1.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.5105, allocations: 37.69 kB / 0.5492 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5106, allocations: 0 / 0.5492 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5106, allocations: 0 / 0.5492 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.5108, allocations: 63.91 kB / 0.5493 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5108, allocations: 0 / 0.5493 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.5109, allocations: 23.69 kB / 0.5493 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.511, allocations: 19.98 kB / 0.5493 GB, free: 1.578 MB / 394.7 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.5111, allocations: 112.9 kB / 0.5494 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.5111, allocations: 23.67 kB / 0.5495 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.5126, allocations: 499.3 kB / 0.5499 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.5126, allocations: 7.984 kB / 0.5499 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5126, allocations: 0 / 0.5499 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5127, allocations: 0 / 0.5499 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.513, allocations: 296.2 kB / 0.5502 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.513, allocations: 3.984 kB / 0.5502 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.5131, allocations: 55.92 kB / 0.5503 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5132, allocations: 7.984 kB / 0.5503 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.5132, allocations: 11.95 kB / 0.5503 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5132, allocations: 0 / 0.5503 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5132, allocations: 4 kB / 0.5503 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.5145, allocations: 418 kB / 0.5507 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.5146, allocations: 156.7 kB / 0.5509 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.5147, allocations: 4 kB / 0.5509 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.5148, allocations: 3.953 kB / 0.5509 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.5148, allocations: 33.59 kB / 0.5509 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.5149, allocations: 15.98 kB / 0.5509 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.515, allocations: 195.4 kB / 0.5511 GB, free: 15.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5151, allocations: 0 / 0.5511 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.5154, allocations: 71.92 kB / 0.5512 GB, free: 15.62 MB / 410.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007748/0.5162, allocations: 335.6 kB / 0.5515 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.5166, allocations: 291.2 kB / 0.5518 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5166, allocations: 0 / 0.5518 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.5168, allocations: 131.8 kB / 0.5519 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.517, allocations: 12 kB / 0.5519 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.5177, allocations: 389.7 kB / 0.5523 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5181, allocations: 0.7578 MB / 0.553 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.5184, allocations: 153.6 kB / 0.5532 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.5185, allocations: 43.36 kB / 0.5532 GB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5185, allocations: 4 kB / 0.5532 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Templates: time 0.006214/0.5248, allocations: 2.644 MB / 0.5558 GB, free: 10.96 MB / 410.7 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)