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.308/0.308, allocations: 54.33 MB / 66.88 MB, free: 6.109 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.001135/0.001135, allocations: 180.3 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.702/1.702, allocations: 194.2 MB / 288.6 MB, free: 15.07 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.001935/0.001935, allocations: 104.6 kB / 346.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.503e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.6016, allocations: 88.39 MB / 0.5453 GB, free: 2.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.602, allocations: 83.95 kB / 0.5454 GB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.6184, allocations: 6.084 MB / 0.5514 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6184, allocations: 0 / 0.5514 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.6185, allocations: 4 kB / 0.5514 GB, free: 11.91 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.0007661/0.6193, allocations: 0.5159 MB / 0.5519 GB, free: 11.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.6193, allocations: 15.97 kB / 0.5519 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.6195, allocations: 23.72 kB / 0.5519 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.6199, allocations: 255.5 kB / 0.5521 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.6199, allocations: 12 kB / 0.5522 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.62, allocations: 16 kB / 0.5522 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.6204, allocations: 210.8 kB / 0.5524 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6204, allocations: 0 / 0.5524 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.6204, allocations: 8 kB / 0.5524 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.6204, allocations: 4 kB / 0.5524 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.6214, allocations: 0.7724 MB / 0.5531 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.6225, allocations: 0.5824 MB / 0.5537 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.6231, allocations: 324.4 kB / 0.554 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.6233, allocations: 109.4 kB / 0.5541 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.624, allocations: 457.7 kB / 0.5546 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.6243, allocations: 191.2 kB / 0.5547 GB, free: 8.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.6243, allocations: 0 / 0.5547 GB, free: 8.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005925/0.6249, allocations: 297.1 kB / 0.555 GB, free: 7.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.625, allocations: 85.09 kB / 0.5551 GB, free: 7.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.6254, allocations: 245.9 kB / 0.5553 GB, free: 7.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.6254, allocations: 37.7 kB / 0.5554 GB, free: 7.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.6255, allocations: 112.9 kB / 0.5555 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6256, allocations: 114.4 kB / 0.5556 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.6256, allocations: 8 kB / 0.5556 GB, free: 7.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6258, allocations: 338.8 kB / 0.5559 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.626, allocations: 91.98 kB / 0.556 GB, free: 6.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.6262, allocations: 129.7 kB / 0.5561 GB, free: 6.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.6264, allocations: 154.1 kB / 0.5563 GB, free: 6.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6264, allocations: 0 / 0.5563 GB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005972/0.6271, allocations: 402.8 kB / 0.5567 GB, free: 6.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.6271, allocations: 37.67 kB / 0.5567 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6271, allocations: 4 kB / 0.5567 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6271, allocations: 0 / 0.5567 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.6274, allocations: 63.97 kB / 0.5568 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.6274, allocations: 11.92 kB / 0.5568 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.6275, allocations: 23.69 kB / 0.5568 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.6276, allocations: 16 kB / 0.5568 GB, free: 5.957 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 0.0001112/0.6277, allocations: 116.9 kB / 0.5569 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.6277, allocations: 39.56 kB / 0.557 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.6285, allocations: 428.4 kB / 0.5574 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6285, allocations: 4 kB / 0.5574 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6285, allocations: 0 / 0.5574 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.6286, allocations: 0 / 0.5574 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.6289, allocations: 341.1 kB / 0.5577 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6289, allocations: 0 / 0.5577 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6291, allocations: 71.84 kB / 0.5578 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6291, allocations: 0 / 0.5578 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.6292, allocations: 12 kB / 0.5578 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.6292, allocations: 0 / 0.5578 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6292, allocations: 0 / 0.5578 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.6297, allocations: 337.7 kB / 0.5581 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.6299, allocations: 160.6 kB / 0.5583 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.6299, allocations: 8 kB / 0.5583 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-05/0.63, allocations: 12 kB / 0.5583 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.6301, allocations: 19.97 kB / 0.5583 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.6301, allocations: 15.98 kB / 0.5583 GB, free: 4.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002078/0.6303, allocations: 204.4 kB / 0.5585 GB, free: 4.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6303, allocations: 0 / 0.5585 GB, free: 4.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000397/0.6308, allocations: 83.92 kB / 0.5586 GB, free: 4.043 MB / 394.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.0008273/0.6316, allocations: 337.6 kB / 0.5589 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.6321, allocations: 311.1 kB / 0.5592 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6321, allocations: 0 / 0.5592 GB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.6323, allocations: 140.3 kB / 0.5593 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.6325, allocations: 27.84 kB / 0.5594 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.6333, allocations: 407.2 kB / 0.5597 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.6337, allocations: 0.7615 MB / 0.5605 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.6341, allocations: 149.9 kB / 0.5606 GB, free: 1.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.6342, allocations: 47.41 kB / 0.5607 GB, free: 1.922 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6342, allocations: 0 / 0.5607 GB, free: 1.922 MB / 394.7 MB Notification: Performance of Templates: time 0.006361/0.6406, allocations: 2.827 MB / 0.5634 GB, free: 15.11 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)